diff options
Diffstat (limited to 'spec/migrations/schedule_pages_metadata_migration_spec.rb')
-rw-r--r-- | spec/migrations/schedule_pages_metadata_migration_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/schedule_pages_metadata_migration_spec.rb b/spec/migrations/schedule_pages_metadata_migration_spec.rb index c37e19eb71c..94311237cf4 100644 --- a/spec/migrations/schedule_pages_metadata_migration_spec.rb +++ b/spec/migrations/schedule_pages_metadata_migration_spec.rb @@ -17,7 +17,7 @@ RSpec.describe SchedulePagesMetadataMigration do it 'schedules pages metadata migration' do Sidekiq::Testing.fake! do - Timecop.freeze do + freeze_time do migrate! expect(described_class::MIGRATION).to be_scheduled_delayed_migration(2.minutes, 111, 111) |