summaryrefslogtreecommitdiff
path: root/spec/migrations
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-24 14:53:46 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-24 15:48:10 +0200
commitc9dc51111d53aba4e456afaade4bf9ad82c4b28c (patch)
treede742fbd8de072005fef8a55f96c8092aca52ce1 /spec/migrations
parentd7e8bfac48e5b142348cd503f39387e9d88a3b85 (diff)
downloadgitlab-ce-c9dc51111d53aba4e456afaade4bf9ad82c4b28c.tar.gz
Rename stage index column name to priority column
Diffstat (limited to 'spec/migrations')
-rw-r--r--spec/migrations/schedule_stages_index_migration_spec.rb2
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 e47a43ff325..b8d0f711a25 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(index: be_nil))
+ expect(stages.all).to all(have_attributes(priority: be_nil))
migrate!