test/plugins/singleton_test.rb in rocketjob-3.5.1 vs test/plugins/singleton_test.rb in rocketjob-3.5.2
- old
+ new
@@ -73,10 +73,10 @@
it 'fails if another job is active' do
@job = SingletonJob.new
@job.start!
job2 = SingletonJob.new
refute job2.valid?
- assert_equal ['Another instance of Plugins::SingletonTest::SingletonJob is already queued or running'], job2.errors.messages[:state]
+ assert_equal ['Another instance of Plugins::SingletonTest::SingletonJob is already running, queued, or paused'], job2.errors.messages[:state]
end
it 'passes if another job is active, but this job is not' do
@job = SingletonJob.new
@job.start!