test/worker_test.rb in rocketjob-0.7.0 vs test/worker_test.rb in rocketjob-0.8.0
- old
+ new
@@ -27,14 +27,12 @@
assert_nil @job.description
assert_equal false, @job.destroy_on_complete
assert_nil @job.expires_at
assert_equal 0, @job.percent_complete
assert_equal 50, @job.priority
- assert_equal true, @job.repeatable
assert_equal 0, @job.failure_count
assert_nil @job.run_at
- assert_nil @job.schedule
assert_nil @job.started_at
assert_equal :queued, @job.state
@job.server_name = 'me'
@job.start
@@ -48,13 +46,11 @@
assert_nil @job.description
assert_equal false, @job.destroy_on_complete
assert_nil @job.expires_at
assert_equal 100, @job.percent_complete
assert_equal 50, @job.priority
- assert_equal true, @job.repeatable
assert_equal 0, @job.failure_count
assert_nil @job.run_at
- assert_nil @job.schedule
assert @job.started_at
end
end
context '.later' do
\ No newline at end of file