Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe-undefined <joe@joejames.io>2016-11-15 10:10:43 +0300
committerthe-undefined <joe@joejames.io>2016-11-16 09:52:43 +0300
commitdbf5c8abfe44ce8bf4a9517a8acead961edb3e3e (patch)
tree039f405d4c0364a954b81a299b0e30184ee07623 /features/steps/shared/search.rb
parentf27f9803833f72d7f62534c195539dcdef2e3ccd (diff)
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/search.rb')
-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