diff options
Diffstat (limited to 'spec/migrations/schedule_sync_issuables_state_id_spec.rb')
-rw-r--r-- | spec/migrations/schedule_sync_issuables_state_id_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/schedule_sync_issuables_state_id_spec.rb b/spec/migrations/schedule_sync_issuables_state_id_spec.rb index ecfebbde348..d22d636e084 100644 --- a/spec/migrations/schedule_sync_issuables_state_id_spec.rb +++ b/spec/migrations/schedule_sync_issuables_state_id_spec.rb @@ -20,7 +20,7 @@ RSpec.describe ScheduleSyncIssuablesStateId do it 'correctly schedules issuable sync background migration' do Sidekiq::Testing.fake! do - Timecop.freeze do + freeze_time do migrate! expect(migration).to be_scheduled_delayed_migration(120.seconds, resource_1.id, resource_2.id) |