diff options
Diffstat (limited to 'spec/workers/gitlab/github_import/stage/import_collaborators_worker_spec.rb')
-rw-r--r-- | spec/workers/gitlab/github_import/stage/import_collaborators_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/gitlab/github_import/stage/import_collaborators_worker_spec.rb b/spec/workers/gitlab/github_import/stage/import_collaborators_worker_spec.rb index 33ecf848997..808f6e827ed 100644 --- a/spec/workers/gitlab/github_import/stage/import_collaborators_worker_spec.rb +++ b/spec/workers/gitlab/github_import/stage/import_collaborators_worker_spec.rb @@ -16,7 +16,7 @@ RSpec.describe Gitlab::GithubImport::Stage::ImportCollaboratorsWorker, feature_c let(:push_rights_granted) { true } before do - settings.write({ collaborators_import: stage_enabled }) + settings.write({ optional_stages: { collaborators_import: stage_enabled } }) allow(client).to receive(:repository).with(project.import_source) .and_return({ permissions: { push: push_rights_granted } }) end |