Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Apr 3, 2023
1 parent 77494b5 commit 7da08dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/spec/session/has_link_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
expect(@session).to have_no_link('monkey')
expect(@session).to have_no_link('A link', href: '/nonexistent-href')
expect(@session).to have_no_link('A link', href: %r{/nonexistent-href})
expect(@session).not_to have_no_link('labore', target: '_blank')
expect(@session).to have_no_link('labore', target: '_blank')
end

context 'with focused:', requires: [:active_element] do
Expand Down

0 comments on commit 7da08dd

Please sign in to comment.