From f0b052e16868107e1693e9b3454039420bee1dde Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 9 Mar 2016 13:50:34 +0900 Subject: Fix wiki search results point to raw source --- features/steps/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') 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 -- cgit v1.2.3