diff options
author | the-undefined <joe@joejames.io> | 2016-11-15 07:10:43 +0000 |
---|---|---|
committer | the-undefined <joe@joejames.io> | 2016-11-16 06:52:43 +0000 |
commit | dbf5c8abfe44ce8bf4a9517a8acead961edb3e3e (patch) | |
tree | 039f405d4c0364a954b81a299b0e30184ee07623 /features/steps/shared | |
parent | f27f9803833f72d7f62534c195539dcdef2e3ccd (diff) | |
download | gitlab-ce-dbf5c8abfe44ce8bf4a9517a8acead961edb3e3e.tar.gz |
Move 'Search Snippets' Spinach feature to Rspec
This commit moves the `search_snippets.feature` Spinach test to a
Rspec feature, as part of deprecating the Spinach test suite.
- Remove Spinach discover snippets feature and steps
- Remove unused `SharedSearch` module
- Add Rspec feature scenarios
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/search.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/features/steps/shared/search.rb b/features/steps/shared/search.rb deleted file mode 100644 index 6c3d601763d..00000000000 --- a/features/steps/shared/search.rb +++ /dev/null @@ -1,11 +0,0 @@ -module SharedSearch - include Spinach::DSL - - def search_snippet_contents(query) - visit "/search?search=#{URI::encode(query)}&snippets=true&scope=snippet_blobs" - end - - def search_snippet_titles(query) - visit "/search?search=#{URI::encode(query)}&snippets=true&scope=snippet_titles" - end -end |