test/plugins/processing_window_test.rb in rocketjob-2.0.0 vs test/plugins/processing_window_test.rb in rocketjob-2.1.1
- old
+ new
@@ -76,10 +76,10 @@
describe '#valid?' do
it 'fails on missing processing_schedule' do
@job = ProcessingWindowJob.new
refute @job.valid?
assert_equal "can't be blank", @job.errors.messages[:processing_schedule].first
- assert_equal "not a string: nil", @job.errors.messages[:processing_schedule].second
+ assert_equal 'not a string: nil', @job.errors.messages[:processing_schedule].second
assert_equal "can't be blank", @job.errors.messages[:processing_duration].first
end
it 'fails on bad cron schedule' do
@job = ProcessingWindowJob.new(processing_schedule: 'blah')