1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

no need to assert job result

This commit is contained in:
awaw 2013-05-30 14:12:30 +08:00
parent 4cfa817bfb
commit d9ed81c341

View file

@ -120,8 +120,8 @@ class TestTesting < Minitest::Test
end
it 'shift_and_perform runs only one job' do
assert StoredWorker.perform_async(:first)
assert StoredWorker.perform_async(:second)
StoredWorker.perform_async(:first)
StoredWorker.perform_async(:second)
assert_equal 2, StoredWorker.jobs.size
StoredWorker.shift_and_perform