mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user