Commit Graph

5 Commits

Author SHA1 Message Date
Grzegorz Bizon 841de9752f Fix background migration cleanup specs
We need to use a spy because an `after` RSpec hook is also going to call
the migration we want to test, so we need to use `have_received`
expectation. See gitlab-org/gitlab-ce#35351 for more details.
2017-07-20 10:53:52 +02:00
Grzegorz Bizon a6d1e92d98 Isolate stage_id reference clean up migration
This addreses a review remarks discussed in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12785/diffs#note_35276344
2017-07-19 13:19:27 +02:00
Grzegorz Bizon 73c7b96885 Remove migration dependency from stage_id migration 2017-07-18 11:51:47 +02:00
Grzegorz Bizon 5c3fd67075 Add specs for stage_id reference cleanup migration 2017-07-18 10:36:12 +02:00
Grzegorz Bizon fa3acb3bb6 Add pending set of specs for stage_id cleanup migration 2017-07-18 10:36:12 +02:00