diff options
Diffstat (limited to 'spec/migrations/20190924152703_migrate_issue_trackers_data_spec.rb')
-rw-r--r-- | spec/migrations/20190924152703_migrate_issue_trackers_data_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/20190924152703_migrate_issue_trackers_data_spec.rb b/spec/migrations/20190924152703_migrate_issue_trackers_data_spec.rb index 6c957ee1428..196f5ead8d2 100644 --- a/spec/migrations/20190924152703_migrate_issue_trackers_data_spec.rb +++ b/spec/migrations/20190924152703_migrate_issue_trackers_data_spec.rb @@ -52,7 +52,7 @@ RSpec.describe MigrateIssueTrackersData do it 'schedules background migrations at correct time' do Sidekiq::Testing.fake! do - Timecop.freeze do + freeze_time do migrate! expect(migration_name).to be_scheduled_delayed_migration(3.minutes, jira_service.id, bugzilla_service.id) |