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/snippets/discover.rb | |
parent | fda61a047ffb9b04bc4dd38e897088fde17fb3c1 (diff) | |
download | gitlab-ce-ef6e94e37e0fce23acf32992476aeb63405be0c1.tar.gz |
Replace old spinach step definitions with step.
Diffstat (limited to 'features/steps/snippets/discover.rb')
-rw-r--r-- | features/steps/snippets/discover.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/snippets/discover.rb b/features/steps/snippets/discover.rb index 09337937002..307fcc668b2 100644 --- a/features/steps/snippets/discover.rb +++ b/features/steps/snippets/discover.rb @@ -3,11 +3,11 @@ class DiscoverSnippets < Spinach::FeatureSteps include SharedPaths include SharedSnippet - Then 'I should see "Personal snippet one" in snippets' do + step 'I should see "Personal snippet one" in snippets' do page.should have_content "Personal snippet one" end - And 'I should not see "Personal snippet private" in snippets' do + step 'I should not see "Personal snippet private" in snippets' do page.should_not have_content "Personal snippet private" end |