summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-06-08 10:33:25 -0500
committerDouwe Maan <douwe@selenight.nl>2017-06-09 10:10:47 -0500
commitb38c74d696a8592878d92f8d40c8c3e1b42678b1 (patch)
tree63fdc0193a9729899aa93296c92315a9ce6789f8 /spec/support
parentce37a209c6394115eb77c01b877dfd3ae1a6e7e1 (diff)
downloadgitlab-ce-b38c74d696a8592878d92f8d40c8c3e1b42678b1.tar.gz
Revert 'New file from interface on existing branch'dm-revert-mr-8427
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/target_branch_helpers.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/support/target_branch_helpers.rb b/spec/support/target_branch_helpers.rb
deleted file mode 100644
index 01d1c53fe6c..00000000000
--- a/spec/support/target_branch_helpers.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-module TargetBranchHelpers
- def select_branch(name)
- first('button.js-target-branch').click
- wait_for_requests
- all('a[data-group="Branches"]').find do |el|
- el.text == name
- end.click
- end
-
- def create_new_branch(name)
- first('button.js-target-branch').click
- click_link 'Create new branch'
- fill_in 'new_branch_name', with: name
- click_button 'Create'
- end
-end