TEST: break build to ensure docker process does not update to this file

This commit is contained in:
Sam 2014-07-01 11:58:49 +10:00
parent 760e9a756d
commit 9e75b930e4
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@ describe Jobs do
SiteSetting.expects(:queue_jobs?).at_least_once.returns(true)
end
it 'fails' do
break_build
# temporarily break build to ensure docker process does not pull this change
end
it 'enqueues a job in sidekiq' do
Sidekiq::Client.expects(:enqueue).with(Jobs::ProcessPost, post_id: 1, current_site_id: 'default')
Jobs.enqueue(:process_post, post_id: 1)