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:
parent
4cfa817bfb
commit
d9ed81c341
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue