mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Replace Clockwork with Sidetiq
This commit is contained in:
@@ -54,20 +54,6 @@ describe AdminDashboardData do
|
||||
end
|
||||
end
|
||||
|
||||
describe 'clockwork_check' do
|
||||
subject { AdminDashboardData.new.clockwork_check }
|
||||
|
||||
it 'returns nil when clockwork is running' do
|
||||
Jobs::ClockworkHeartbeat.stubs(:is_clockwork_running?).returns(true)
|
||||
subject.should be_nil
|
||||
end
|
||||
|
||||
it 'returns a string when clockwork is not running' do
|
||||
Jobs::ClockworkHeartbeat.stubs(:is_clockwork_running?).returns(false)
|
||||
subject.should_not be_nil
|
||||
end
|
||||
end
|
||||
|
||||
describe 'sidekiq_check' do
|
||||
subject { AdminDashboardData.new.sidekiq_check }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user