diff options
Diffstat (limited to 'spec/migrations/fix_wrong_pages_access_level_spec.rb')
-rw-r--r-- | spec/migrations/fix_wrong_pages_access_level_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/fix_wrong_pages_access_level_spec.rb b/spec/migrations/fix_wrong_pages_access_level_spec.rb index 9ee5fa783a4..80787e0f115 100644 --- a/spec/migrations/fix_wrong_pages_access_level_spec.rb +++ b/spec/migrations/fix_wrong_pages_access_level_spec.rb @@ -29,7 +29,7 @@ RSpec.describe FixWrongPagesAccessLevel, :sidekiq_might_not_need_inline, schema: it 'correctly schedules background migrations' do Sidekiq::Testing.fake! do - Timecop.freeze do + freeze_time do first_id = create_project_feature("project1", project_class::PRIVATE, feature_class::PRIVATE).id last_id = create_project_feature("project2", project_class::PRIVATE, feature_class::PUBLIC).id |