summaryrefslogtreecommitdiff
path: root/spec/workers/gitlab/github_import/import_protected_branch_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/gitlab/github_import/import_protected_branch_worker_spec.rb')
-rw-r--r--spec/workers/gitlab/github_import/import_protected_branch_worker_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/workers/gitlab/github_import/import_protected_branch_worker_spec.rb b/spec/workers/gitlab/github_import/import_protected_branch_worker_spec.rb
index 4a3ef2bf560..c2b8ee661a3 100644
--- a/spec/workers/gitlab/github_import/import_protected_branch_worker_spec.rb
+++ b/spec/workers/gitlab/github_import/import_protected_branch_worker_spec.rb
@@ -14,7 +14,8 @@ RSpec.describe Gitlab::GithubImport::ImportProtectedBranchWorker do
let(:json_hash) do
{
id: 'main',
- allow_force_pushes: true
+ allow_force_pushes: true,
+ allowed_to_push_users: []
}
end