diff options
author | Robert Speicher <robert@gitlab.com> | 2018-08-17 20:10:12 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-08-17 20:10:12 +0300 |
commit | 120ce02e5e7e72654cb42edddc25ff3b057ec136 (patch) | |
tree | dc612e487ea3d84cc7848ff5cb74660a3d79bf5a /spec/workers | |
parent | a58d0a0182d06efbbde57821e71c305518325d6f (diff) | |
parent | 9606dbbb033567de9831a8cdea0e56236e7d2eb2 (diff) |
Merge branch 'blacklist-destroy-all' into 'master'
Blacklist the use of destroy_all
See merge request gitlab-org/gitlab-ce!21250
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/repository_check/single_repository_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/repository_check/single_repository_worker_spec.rb b/spec/workers/repository_check/single_repository_worker_spec.rb index 22fc64c1536..f11875cffd1 100644 --- a/spec/workers/repository_check/single_repository_worker_spec.rb +++ b/spec/workers/repository_check/single_repository_worker_spec.rb @@ -6,7 +6,7 @@ describe RepositoryCheck::SingleRepositoryWorker do it 'skips when the project has no push events' do project = create(:project, :repository, :wiki_disabled) - project.events.destroy_all + project.events.destroy_all # rubocop: disable DestroyAll break_project(project) expect(worker).not_to receive(:git_fsck) |