Merge pull request #1309 from stephankaag/sidetiq

Replace Clockwork with Sidetiq
This commit is contained in:
Sam
2013-08-14 16:51:04 -07:00
44 changed files with 106 additions and 299 deletions

View File

@@ -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 }