Add pending set of specs for stage_id cleanup migration

This commit is contained in:
Grzegorz Bizon 2017-07-11 15:19:57 +02:00
parent bd6406c406
commit fa3acb3bb6
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
require 'spec_helper'
require Rails.root.join('db', 'migrate', '20170710083355_clean_stage_id_reference_migration.rb')
describe CleanStageIdReferenceMigration, :migration, :sidekiq do
context 'when there are enqueued background migrations' do
pending 'processes enqueued jobs synchronously' do
fail
end
end
context 'when there are scheduled background migrations' do
pending 'immediately processes scheduled jobs' do
fail
end
end
context 'when there are no background migrations pending' do
pending 'does nothing' do
fail
end
end
end