Fix broken specs.

This commit is contained in:
Guo Xiang Tan 2017-04-11 10:43:34 +08:00
parent aadf4805a5
commit c076f7b1aa
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ RSpec.describe "Managing a topic's status update", type: :request do
describe 'publishing topic to category in the future' do describe 'publishing topic to category in the future' do
it 'should be able to create the topic status update' do it 'should be able to create the topic status update' do
SiteSetting.queue_jobs = true
post "/t/#{topic.id}/status_update.json", post "/t/#{topic.id}/status_update.json",
time: 24, time: 24,
status_type: TopicStatusUpdate.types[3], status_type: TopicStatusUpdate.types[3],