summaryrefslogtreecommitdiff
path: root/features/steps/project/source/search_code.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/source/search_code.rb')
-rw-r--r--features/steps/project/source/search_code.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/source/search_code.rb b/features/steps/project/source/search_code.rb
index b66c5a4123a..feee756d7ec 100644
--- a/features/steps/project/source/search_code.rb
+++ b/features/steps/project/source/search_code.rb
@@ -9,11 +9,11 @@ class Spinach::Features::ProjectSourceSearchCode < Spinach::FeatureSteps
end
step 'I should see files from repository containing "coffee"' do
- page.should have_content 'coffee'
- page.should have_content 'CONTRIBUTING.md'
+ expect(page).to have_content 'coffee'
+ expect(page).to have_content 'CONTRIBUTING.md'
end
step 'I should see empty result' do
- page.should have_content "We couldn't find any"
+ expect(page).to have_content "We couldn't find any"
end
end