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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/target_branch_helpers.rb b/spec/support/target_branch_helpers.rb
index 3ee8f0f657e..01d1c53fe6c 100644
--- a/spec/support/target_branch_helpers.rb
+++ b/spec/support/target_branch_helpers.rb
@@ -1,7 +1,7 @@
module TargetBranchHelpers
def select_branch(name)
first('button.js-target-branch').click
- wait_for_ajax
+ wait_for_requests
all('a[data-group="Branches"]').find do |el|
el.text == name
end.click