mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
TEST: break build to ensure docker process does not update to this file
This commit is contained in:
parent
760e9a756d
commit
9e75b930e4
@ -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 New Issue
Block a user