Skip to content

Commit

Permalink
Fix test warning
Browse files Browse the repository at this point in the history
Stops "WARNING: ignoring the provided expectation message argument({:href=>"/search_tips"}) since it is not a string or a proc."
  • Loading branch information
taylor-steve committed Feb 21, 2025
1 parent 2e4521f commit 51cd5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/components/search_tips_link_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
end

it 'displays search tips links' do
expect(rendered).to have_link('Search tips'), href: '/search_tips'
expect(rendered).to have_link 'Search tips', href: '/search_tips'
end

it 'displays info icon' do
Expand Down

0 comments on commit 51cd5a7

Please sign in to comment.