• Grzegorz Bizon's avatar
    Fix background migration cleanup specs · 841de975
    Grzegorz Bizon authored
    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.
    841de975