diff options
Diffstat (limited to 'spec/migrations/20230208125736_schedule_migration_for_links_spec.rb')
-rw-r--r-- | spec/migrations/20230208125736_schedule_migration_for_links_spec.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/migrations/20230208125736_schedule_migration_for_links_spec.rb b/spec/migrations/20230208125736_schedule_migration_for_links_spec.rb index dd1c30415a4..035f13b8309 100644 --- a/spec/migrations/20230208125736_schedule_migration_for_links_spec.rb +++ b/spec/migrations/20230208125736_schedule_migration_for_links_spec.rb @@ -10,13 +10,7 @@ RSpec.describe ScheduleMigrationForLinks, :migration, feature_category: :vulnera it 'schedules a batched background migration' do migrate! - expect(migration).to have_scheduled_batched_migration( - table_name: :vulnerability_occurrences, - column_name: :id, - interval: described_class::DELAY_INTERVAL, - batch_size: described_class::BATCH_SIZE, - sub_batch_size: described_class::SUB_BATCH_SIZE - ) + expect(migration).not_to have_scheduled_batched_migration end end |