Skip to content

Commit

Permalink
Fix typo in spec context
Browse files Browse the repository at this point in the history
Found with `codespell`

The typo was there before activeadmin#2601, but according to activeadmin#2601 the intent is
to test `/posts/1` and not `comments` anymore
  • Loading branch information
tagliala committed Apr 30, 2024
1 parent 7e6a718 commit 0740b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/helpers/breadcrumb_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
end
end

context "when path '/admin/users/1/coments/1'" do
context "when path '/admin/users/1/posts/1'" do
let(:path) { "/admin/users/1/posts/1" }

it "should have 4 items" do
Expand Down Expand Up @@ -216,7 +216,7 @@
end
end

context "when path '/admin/users/1/coments/1/edit'" do
context "when path '/admin/users/1/posts/1/edit'" do
let(:path) { "/admin/users/1/posts/1/edit" }

it "should have 5 items" do
Expand Down

0 comments on commit 0740b44

Please sign in to comment.