Fix an order-dependent spec failure in spec/migrations/schedule_sync_issuables_state_id_spec.rb

This commit is contained in:
Nick Thomas 2019-04-04 14:02:42 +01:00
parent c60d0efe0d
commit 7af20f8e51
No known key found for this signature in database
GPG key ID: 2A313A47AFADACE9
2 changed files with 2 additions and 2 deletions

View file

@ -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) }

View file

@ -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) }