Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-08-17 20:10:12 +0300
committerRobert Speicher <robert@gitlab.com>2018-08-17 20:10:12 +0300
commit120ce02e5e7e72654cb42edddc25ff3b057ec136 (patch)
treedc612e487ea3d84cc7848ff5cb74660a3d79bf5a /spec/migrations
parenta58d0a0182d06efbbde57821e71c305518325d6f (diff)
parent9606dbbb033567de9831a8cdea0e56236e7d2eb2 (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/migrations')
-rw-r--r--spec/migrations/schedule_create_gpg_key_subkeys_from_gpg_keys_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/schedule_create_gpg_key_subkeys_from_gpg_keys_spec.rb b/spec/migrations/schedule_create_gpg_key_subkeys_from_gpg_keys_spec.rb
index 96bef107599..c4427910518 100644
--- a/spec/migrations/schedule_create_gpg_key_subkeys_from_gpg_keys_spec.rb
+++ b/spec/migrations/schedule_create_gpg_key_subkeys_from_gpg_keys_spec.rb
@@ -6,7 +6,7 @@ describe ScheduleCreateGpgKeySubkeysFromGpgKeys, :migration, :sidekiq do
create(:gpg_key, id: 1, key: GpgHelpers::User1.public_key) # rubocop:disable RSpec/FactoriesInMigrationSpecs
create(:gpg_key, id: 2, key: GpgHelpers::User3.public_key) # rubocop:disable RSpec/FactoriesInMigrationSpecs
# Delete all subkeys so they can be recreated
- GpgKeySubkey.destroy_all
+ GpgKeySubkey.destroy_all # rubocop: disable DestroyAll
end
it 'correctly schedules background migrations' do