summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-16 20:02:30 +1100
committerVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-16 20:02:30 +1100
commitb3d79b1ff4ad1e601e1e817e7ad8f446e60bfa59 (patch)
tree522dc657220acae025b685a37d93f4eefdea421a /spec/support
parent20295b3db379f4be02521cac591feca3452a2b1c (diff)
downloadgitlab-ce-b3d79b1ff4ad1e601e1e817e7ad8f446e60bfa59.tar.gz
Replace the 'search.feature' spinach test with an rspec analog
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared_examples/features/search_shared_examples.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/shared_examples/features/search_shared_examples.rb b/spec/support/shared_examples/features/search_shared_examples.rb
new file mode 100644
index 00000000000..25ebbf011d5
--- /dev/null
+++ b/spec/support/shared_examples/features/search_shared_examples.rb
@@ -0,0 +1,5 @@
+shared_examples 'top right search form' do
+ it 'does not show top right search form' do
+ expect(page).not_to have_selector('.search')
+ end
+end