Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX committed May 9, 2023
1 parent 3422e30 commit d239e52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions spec/discourse_api/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@
end

describe "#api_key" do
it "is publically accessible" do
it "is publicly accessible" do
subject.api_key = "test_d7fd0429940"
expect(subject.api_key).to eq("test_d7fd0429940")
end
end

describe "#api_username" do
it "is publically accessible" do
it "is publicly accessible" do
subject.api_username = "test_user"
expect(subject.api_username).to eq("test_user")
end
end

describe "#host" do
it "is publically readable" do
it "is publicly readable" do
expect(subject.host).to eq("#{host}")
end

it "is not publically writeable" do
it "is not publicly writeable" do
expect(subject).not_to respond_to(:host=)
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"categories": [
{
"id": 1,
"n ame": "test1",
"name": "test1",
"color": "0000FF",
"text_color": "FFFFFF",
"slug": "test1",
Expand Down

0 comments on commit d239e52

Please sign in to comment.