DEV: Use the type: :multisite spec setting (#9245)

Fixes recent spec flakiness.

Also includes:
DEV: Prevent accidental exit from specs
This commit is contained in:
Jarek Radosz
2020-03-20 16:18:34 +01:00
committed by GitHub
parent 1859e6b7ca
commit 20f3be1e9c
4 changed files with 18 additions and 33 deletions

View File

@ -43,7 +43,7 @@ RSpec.describe "tasks/uploads" do
context "when the store is internal" do
it "does nothing; this is for external store only" do
Upload.expects(:transaction).never
invoke_task
expect { invoke_task }.to raise_error(SystemExit)
end
end