summaryrefslogtreecommitdiff
path: root/features/steps/shared
diff options
context:
space:
mode:
authorthe-undefined <joe@joejames.io>2016-11-15 07:10:43 +0000
committerthe-undefined <joe@joejames.io>2016-11-16 06:52:43 +0000
commitdbf5c8abfe44ce8bf4a9517a8acead961edb3e3e (patch)
tree039f405d4c0364a954b81a299b0e30184ee07623 /features/steps/shared
parentf27f9803833f72d7f62534c195539dcdef2e3ccd (diff)
downloadgitlab-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.rb11
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