diff options
Diffstat (limited to 'spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb')
-rw-r--r-- | spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb b/spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb index d20d3ebad31..f8107dd40b9 100644 --- a/spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb +++ b/spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb @@ -26,10 +26,10 @@ describe Gitlab::BackgroundMigration::MigrateStageIndex, :migration, schema: 201 end it 'correctly migrates stages indices' do - expect(stages.all.pluck(:priority)).to all(be_nil) + expect(stages.all.pluck(:position)).to all(be_nil) described_class.new.perform(100, 101) - expect(stages.all.pluck(:priority)).to eq [2, 3] + expect(stages.all.pluck(:position)).to eq [2, 3] end end |