mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 06:18:14 +08:00
DEV: Take 2 Queue jobs in tests by default.
On my machine this cuts the time taken to run our test suite from ~11mins to ~9mins.
This commit is contained in:
@ -389,7 +389,6 @@ describe Email::Receiver do
|
||||
|
||||
it "supports attached images in TEXT part" do
|
||||
SiteSetting.incoming_email_prefer_html = false
|
||||
SiteSetting.queue_jobs = true
|
||||
|
||||
expect { process(:no_body_with_image) }.to change { topic.posts.count }
|
||||
expect(topic.posts.last.raw).to match(/<img/)
|
||||
@ -399,7 +398,6 @@ describe Email::Receiver do
|
||||
end
|
||||
|
||||
it "supports attached images in HTML part" do
|
||||
SiteSetting.queue_jobs = true
|
||||
SiteSetting.incoming_email_prefer_html = true
|
||||
|
||||
expect { process(:inline_image) }.to change { topic.posts.count }
|
||||
|
Reference in New Issue
Block a user