diff options
Diffstat (limited to 'features/steps/search.rb')
-rw-r--r-- | features/steps/search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/search.rb b/features/steps/search.rb index 48ea3fa3876..0ad837ebe1d 100644 --- a/features/steps/search.rb +++ b/features/steps/search.rb @@ -100,7 +100,7 @@ class Spinach::Features::Search < Spinach::FeatureSteps step 'I should see "test_wiki" link in the search results' do page.within('.results') do - find(:css, '.search-results').should have_link 'test_wiki.md' + expect(find(:css, '.search-results')).to have_link 'test_wiki' end end |