summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpereira2 <rpereira@gitlab.com>2019-06-20 14:32:27 +0530
committerMayra Cabrera <mcabrera@gitlab.com>2019-07-03 13:57:51 -0500
commit06d3f7821ec083604e81b8aa18350a2ae11f00e6 (patch)
treeee1a88d574feb2d8a91dab959d91cf77669fab87
parentdb26cddaaae20655776e6fac31b29e67b5edfa2e (diff)
downloadgitlab-ce-22991-fix-sidekiq-testing-inline.tar.gz
Change occurrence of Sidekiq::Testing.inline!22991-fix-sidekiq-testing-inline
- Change it to perform_enqueued_jobs
-rw-r--r--spec/migrations/backfill_store_project_full_path_in_repo_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb b/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb
index 34f4a36d63d..65a918d5440 100644
--- a/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb
+++ b/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb
@@ -13,7 +13,7 @@ describe BackfillStoreProjectFullPathInRepo, :migration do
subject(:migration) { described_class.new }
around do |example|
- Sidekiq::Testing.inline! do
+ perform_enqueued_jobs do
example.run
end
end