summaryrefslogtreecommitdiff
path: root/spec/support/protected_branches/access_control_ce_shared_examples.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/protected_branches/access_control_ce_shared_examples.rb')
-rw-r--r--spec/support/protected_branches/access_control_ce_shared_examples.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/protected_branches/access_control_ce_shared_examples.rb b/spec/support/protected_branches/access_control_ce_shared_examples.rb
index 7fda4ade665..287d6bb13c3 100644
--- a/spec/support/protected_branches/access_control_ce_shared_examples.rb
+++ b/spec/support/protected_branches/access_control_ce_shared_examples.rb
@@ -38,7 +38,7 @@ RSpec.shared_examples "protected branches > access control > CE" do
end
end
- wait_for_ajax
+ wait_for_requests
expect(ProtectedBranch.last.push_access_levels.map(&:access_level)).to include(access_type_id)
end
@@ -83,7 +83,7 @@ RSpec.shared_examples "protected branches > access control > CE" do
end
end
- wait_for_ajax
+ wait_for_requests
expect(ProtectedBranch.last.merge_access_levels.map(&:access_level)).to include(access_type_id)
end