Skip to content

Commit

Permalink
Capybara/NegationMatcher: Use expect(...).to have_no_link.
Browse files Browse the repository at this point in the history
  • Loading branch information
acmetech committed Jan 4, 2024
1 parent e457192 commit 5036990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/decorators/socializer/person_decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ module Socializer

specify do
expect(result)
.not_to have_link("Group", href: "/groups/1/activities")
.to have_no_link("Group", href: "/groups/1/activities")
end

specify do
Expand Down

0 comments on commit 5036990

Please sign in to comment.