mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 10:58:38 +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:
parent
56e9ff6853
commit
7fc8a36529
45 changed files with 82 additions and 78 deletions
|
@ -207,8 +207,6 @@ describe Auth::GithubAuthenticator do
|
|||
describe 'avatar retrieval' do
|
||||
let(:job_klass) { Jobs::DownloadAvatarFromUrl }
|
||||
|
||||
before { SiteSetting.queue_jobs = true }
|
||||
|
||||
context 'when user has a custom avatar' do
|
||||
let(:user_avatar) { Fabricate(:user_avatar, custom_upload: Fabricate(:upload)) }
|
||||
let(:user_with_custom_avatar) { Fabricate(:user, user_avatar: user_avatar) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue