This commit is contained in:
Dzmitry Plashchynski
2015-04-12 16:34:28 +03:00
parent 50aec2ea87
commit 55e3956618
3 changed files with 3 additions and 18 deletions

View File

@@ -32,23 +32,10 @@ describe Crono::Job do
expect(saved_log).to include 'Some error'
end
xit 'should set Job#healthy to true if perform ok' do
class TestJob
def perform
@_crono_job
end
end
job.perform.join
end
it 'should set Job#healthy to false if perform with error' do
failing_job.perform.join
expect(failing_job.healthy).to be false
end
xit 'should set @_crono_job variable to instance' do
job.perform
end
end
describe '#description' do