diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-11 15:19:57 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-18 10:36:12 +0200 |
commit | fa3acb3bb662bef9d16a072f78d0048365a0f1dc (patch) | |
tree | 3a0c85c553230355c69f825da8050842a6c253b2 /spec/migrations | |
parent | bd6406c406e9894d1d3073978d42fcefa8631497 (diff) | |
download | gitlab-ce-fa3acb3bb662bef9d16a072f78d0048365a0f1dc.tar.gz |
Add pending set of specs for stage_id cleanup migration
Diffstat (limited to 'spec/migrations')
-rw-r--r-- | spec/migrations/clean_stage_id_reference_migration_spec.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/migrations/clean_stage_id_reference_migration_spec.rb b/spec/migrations/clean_stage_id_reference_migration_spec.rb new file mode 100644 index 00000000000..17be549ddd3 --- /dev/null +++ b/spec/migrations/clean_stage_id_reference_migration_spec.rb @@ -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 |