summaryrefslogtreecommitdiff
path: root/spec/support/target_branch_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/target_branch_helpers.rb')
-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