mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
TEST: break build to ensure docker process does not update to this file
This commit is contained in:
parent
760e9a756d
commit
9e75b930e4
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ describe Jobs do
|
||||||
SiteSetting.expects(:queue_jobs?).at_least_once.returns(true)
|
SiteSetting.expects(:queue_jobs?).at_least_once.returns(true)
|
||||||
end
|
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
|
it 'enqueues a job in sidekiq' do
|
||||||
Sidekiq::Client.expects(:enqueue).with(Jobs::ProcessPost, post_id: 1, current_site_id: 'default')
|
Sidekiq::Client.expects(:enqueue).with(Jobs::ProcessPost, post_id: 1, current_site_id: 'default')
|
||||||
Jobs.enqueue(:process_post, post_id: 1)
|
Jobs.enqueue(:process_post, post_id: 1)
|
||||||
|
|
Loading…
Reference in a new issue