diff options
Diffstat (limited to 'spec/support/protected_branch_helpers.rb')
-rw-r--r-- | spec/support/protected_branch_helpers.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/protected_branch_helpers.rb b/spec/support/protected_branch_helpers.rb index ede16d1c1e2..b34b9ec4641 100644 --- a/spec/support/protected_branch_helpers.rb +++ b/spec/support/protected_branch_helpers.rb @@ -27,4 +27,9 @@ module ProtectedBranchHelpers set_allowed_to('merge') set_allowed_to('push') end + + def click_on_protect + click_on "Protect" + wait_for_requests + end end |