diff options
Diffstat (limited to 'spec/requests/api/project_container_repositories_spec.rb')
-rw-r--r-- | spec/requests/api/project_container_repositories_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/requests/api/project_container_repositories_spec.rb b/spec/requests/api/project_container_repositories_spec.rb index a2e1a1c1721..f51b94bb78e 100644 --- a/spec/requests/api/project_container_repositories_spec.rb +++ b/spec/requests/api/project_container_repositories_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe API::ProjectContainerRepositories, feature_category: :package_registry do +RSpec.describe API::ProjectContainerRepositories, feature_category: :container_registry do include ExclusiveLeaseHelpers let_it_be(:project) { create(:project, :private) } @@ -142,7 +142,6 @@ RSpec.describe API::ProjectContainerRepositories, feature_category: :package_reg let(:api_user) { maintainer } it 'marks the repository as delete_scheduled' do - expect(DeleteContainerRepositoryWorker).not_to receive(:perform_async) expect { subject }.to change { root_repository.reload.status }.from(nil).to('delete_scheduled') expect(response).to have_gitlab_http_status(:accepted) |