diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-01 14:30:44 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-01 14:30:44 +0200 |
commit | 0fd0b64be63c18bb216f15d887e3ce0955dcf269 (patch) | |
tree | f62cd1d970ba738ef0825f745c4c44714a6b126e /spec/migrations | |
parent | b337a086d5118e80518945abfc2e88008d9fc1ec (diff) | |
download | gitlab-ce-0fd0b64be63c18bb216f15d887e3ce0955dcf269.tar.gz |
Use stages position column to track stage index
Diffstat (limited to 'spec/migrations')
-rw-r--r-- | spec/migrations/schedule_stages_index_migration_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/schedule_stages_index_migration_spec.rb b/spec/migrations/schedule_stages_index_migration_spec.rb index b8d0f711a25..710264da375 100644 --- a/spec/migrations/schedule_stages_index_migration_spec.rb +++ b/spec/migrations/schedule_stages_index_migration_spec.rb @@ -21,7 +21,7 @@ describe ScheduleStagesIndexMigration, :sidekiq, :migration do it 'schedules delayed background migrations in batches' do Sidekiq::Testing.fake! do Timecop.freeze do - expect(stages.all).to all(have_attributes(priority: be_nil)) + expect(stages.all).to all(have_attributes(position: be_nil)) migrate! |