summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorHeinrich Lee Yu <hleeyu@gmail.com>2018-10-29 11:03:43 +0800
committerHeinrich Lee Yu <hleeyu@gmail.com>2018-11-13 15:27:42 +0800
commit91f235df08a08d45ec716ddca652ccba226abb5d (patch)
tree4353850575c8c50e450a884dfc64b4701e6905b9 /spec/support
parentee4a7811a0cdb349e4a304f01db58292ebeedbdf (diff)
downloadgitlab-ce-91f235df08a08d45ec716ddca652ccba226abb5d.tar.gz
Fix tests
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/helpers/filter_item_select_helper.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/support/helpers/filter_item_select_helper.rb b/spec/support/helpers/filter_item_select_helper.rb
deleted file mode 100644
index 519e84d359e..00000000000
--- a/spec/support/helpers/filter_item_select_helper.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# Helper allows you to select value from filter-items
-#
-# Params
-# value - value for select
-# selector - css selector of item
-#
-# Usage:
-#
-# filter_item_select('Any Author', '.js-author-search')
-#
-module FilterItemSelectHelper
- def filter_item_select(value, selector)
- find(selector).click
- wait_for_requests
- page.within('.dropdown-content') do
- click_link value
- end
- end
-end