diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-21 23:40:22 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-22 10:01:50 +0200 |
commit | ef6e94e37e0fce23acf32992476aeb63405be0c1 (patch) | |
tree | 3cfce6b15bab68f2213850672872de2ce420bae3 /features/steps/snippet_search.rb | |
parent | fda61a047ffb9b04bc4dd38e897088fde17fb3c1 (diff) | |
download | gitlab-ce-ef6e94e37e0fce23acf32992476aeb63405be0c1.tar.gz |
Replace old spinach step definitions with step.
Diffstat (limited to 'features/steps/snippet_search.rb')
-rw-r--r-- | features/steps/snippet_search.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/snippet_search.rb b/features/steps/snippet_search.rb index fe03b847c56..669c7186c1b 100644 --- a/features/steps/snippet_search.rb +++ b/features/steps/snippet_search.rb @@ -37,19 +37,19 @@ class Spinach::Features::SnippetSearch < Spinach::FeatureSteps page.should_not have_content 'line three' end - Then 'I should see "Personal snippet one" in results' do + step 'I should see "Personal snippet one" in results' do page.should have_content 'Personal snippet one' end - And 'I should see "Personal snippet private" in results' do + step 'I should see "Personal snippet private" in results' do page.should have_content 'Personal snippet private' end - Then 'I should not see "Personal snippet one" in results' do + step 'I should not see "Personal snippet one" in results' do page.should_not have_content 'Personal snippet one' end - And 'I should not see "Personal snippet private" in results' do + step 'I should not see "Personal snippet private" in results' do page.should_not have_content 'Personal snippet private' end |