提交 78aa157d 编写于 作者: É Étienne Barrié

Add assertions to show test was mistaken

上级 fba10641
......@@ -1872,6 +1872,7 @@ def test_assert_performed_with_does_not_change_jobs_count
HelloJob.perform_later
end
assert_equal 0, queue_adapter.enqueued_jobs.count
assert_equal 2, queue_adapter.performed_jobs.count
end
......@@ -1884,6 +1885,7 @@ def test_assert_performed_with_without_block_does_not_change_jobs_count
HelloJob.perform_later
assert_performed_with(job: HelloJob)
assert_equal 2, queue_adapter.enqueued_jobs.count
assert_equal 2, queue_adapter.performed_jobs.count
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册