diff options
Diffstat (limited to 'spec/migrations/20210406144743_backfill_total_tuple_count_for_batched_migrations_spec.rb')
-rw-r--r-- | spec/migrations/20210406144743_backfill_total_tuple_count_for_batched_migrations_spec.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/migrations/20210406144743_backfill_total_tuple_count_for_batched_migrations_spec.rb b/spec/migrations/20210406144743_backfill_total_tuple_count_for_batched_migrations_spec.rb index 1f18f7e581a..18aa8e92560 100644 --- a/spec/migrations/20210406144743_backfill_total_tuple_count_for_batched_migrations_spec.rb +++ b/spec/migrations/20210406144743_backfill_total_tuple_count_for_batched_migrations_spec.rb @@ -3,12 +3,13 @@ require 'spec_helper' require_migration! -RSpec.describe BackfillTotalTupleCountForBatchedMigrations, :migration, schema: 20210406140057 do - let_it_be(:table_name) { 'projects' } +RSpec.describe BackfillTotalTupleCountForBatchedMigrations, :migration, schema: 20210406140057, + feature_category: :database do + let!(:table_name) { 'projects' } - let_it_be(:migrations) { table(:batched_background_migrations) } + let!(:migrations) { table(:batched_background_migrations) } - let_it_be(:migration) do + let!(:migration) do migrations.create!( created_at: Time.now, updated_at: Time.now, |