diff options
author | Charles Bushong <bushong1@gmail.com> | 2014-09-05 13:51:23 -0400 |
---|---|---|
committer | Charles Bushong <bushong1@gmail.com> | 2014-09-05 13:51:23 -0400 |
commit | 4561a09c69b9769ebdbbf7cb9a3ed8f8cc03651b (patch) | |
tree | 32fc725211d7b4b0dd7f0a9105b05aff1d8490d5 /features/steps/snippet_search.rb | |
parent | 858dbd084253d2920d7007babe0471469eb459e7 (diff) | |
download | gitlab-ce-4561a09c69b9769ebdbbf7cb9a3ed8f8cc03651b.tar.gz |
Cleaning for the hound
Diffstat (limited to 'features/steps/snippet_search.rb')
-rw-r--r-- | features/steps/snippet_search.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/features/steps/snippet_search.rb b/features/steps/snippet_search.rb index eb7d56c5f3f..fe03b847c56 100644 --- a/features/steps/snippet_search.rb +++ b/features/steps/snippet_search.rb @@ -6,51 +6,51 @@ class Spinach::Features::SnippetSearch < Spinach::FeatureSteps include SharedSearch step 'I search for "snippet" in snippet titles' do - search_snippet_titles "snippet" + search_snippet_titles 'snippet' end step 'I search for "snippet private" in snippet titles' do - search_snippet_titles "snippet private" + search_snippet_titles 'snippet private' end step 'I search for "line seven" in snippet contents' do - search_snippet_contents "line seven" + search_snippet_contents 'line seven' end step 'I should see "line seven" in results' do - page.should have_content "line seven" + page.should have_content 'line seven' end step 'I should see "line four" in results' do - page.should have_content "line four" + page.should have_content 'line four' end step 'I should see "line ten" in results' do - page.should have_content "line ten" + page.should have_content 'line ten' end step 'I should not see "line eleven" in results' do - page.should_not have_content "line eleven" + page.should_not have_content 'line eleven' end step 'I should not see "line three" in results' do - page.should_not have_content "line three" + page.should_not have_content 'line three' end Then 'I should see "Personal snippet one" in results' do - page.should have_content "Personal snippet one" + page.should have_content 'Personal snippet one' end And 'I should see "Personal snippet private" in results' do - page.should have_content "Personal snippet private" + page.should have_content 'Personal snippet private' end Then 'I should not see "Personal snippet one" in results' do - page.should_not have_content "Personal snippet one" + page.should_not have_content 'Personal snippet one' end And 'I should not see "Personal snippet private" in results' do - page.should_not have_content "Personal snippet private" + page.should_not have_content 'Personal snippet private' end end |