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:
Guo Xiang Tan
2018-05-31 15:53:49 +08:00
parent 56e9ff6853
commit 7fc8a36529
45 changed files with 82 additions and 78 deletions

View File

@ -258,8 +258,6 @@ RSpec.describe TopicsController do
describe 'publishing topic to category in the future' do
it 'should be able to create the topic status update' do
SiteSetting.queue_jobs = true
post "/t/#{topic.id}/timer.json", params: {
time: 24,
status_type: TopicTimer.types[3],