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.
Showing
Please
register
or
sign in
to comment