diff options
author | Nick Thomas <nick@gitlab.com> | 2019-04-04 14:02:42 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-04-04 14:12:10 +0100 |
commit | 7af20f8e510ed389ba39995038d10369a93afe77 (patch) | |
tree | 628a9fa71b34e4f08b39a1d57aa9004699549227 /spec | |
parent | c60d0efe0d2f2f0bdd1e626c378fe655461c5f22 (diff) | |
download | gitlab-ce-7af20f8e510ed389ba39995038d10369a93afe77.tar.gz |
Fix an order-dependent spec failure in spec/migrations/schedule_sync_issuables_state_id_spec.rb
Diffstat (limited to 'spec')
-rw-r--r-- | spec/migrations/schedule_runners_token_encryption_spec.rb | 2 | ||||
-rw-r--r-- | spec/migrations/schedule_sync_issuables_state_id_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/migrations/schedule_runners_token_encryption_spec.rb b/spec/migrations/schedule_runners_token_encryption_spec.rb index 376d2795277..97ff6c128f3 100644 --- a/spec/migrations/schedule_runners_token_encryption_spec.rb +++ b/spec/migrations/schedule_runners_token_encryption_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' require Rails.root.join('db', 'post_migrate', '20181121111200_schedule_runners_token_encryption') -describe ScheduleRunnersTokenEncryption, :migration do +describe ScheduleRunnersTokenEncryption, :migration, :sidekiq do let(:settings) { table(:application_settings) } let(:namespaces) { table(:namespaces) } let(:projects) { table(:projects) } diff --git a/spec/migrations/schedule_sync_issuables_state_id_spec.rb b/spec/migrations/schedule_sync_issuables_state_id_spec.rb index bf974d60b24..bc94f8820bd 100644 --- a/spec/migrations/schedule_sync_issuables_state_id_spec.rb +++ b/spec/migrations/schedule_sync_issuables_state_id_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require Rails.root.join('db', 'post_migrate', '20190214112022_schedule_sync_issuables_state_id.rb') -describe ScheduleSyncIssuablesStateId, :migration do +describe ScheduleSyncIssuablesStateId, :migration, :sidekiq do let(:namespaces) { table(:namespaces) } let(:projects) { table(:projects) } let(:merge_requests) { table(:merge_requests) } |