未验证 提交 0925d734 编写于 作者: B bogdanvlviv

Clarify docs of `ActiveJob::TestHelper` [ci skip]

I found a few sentences that should be updated as well.
See https://github.com/rails/rails/pull/33571#discussion_r209435886

Follow up #33571
上级 6fe45f37
......@@ -197,7 +197,7 @@ def assert_no_enqueued_jobs(only: nil, except: nil, queue: nil, &block)
# assert_performed_jobs 2
# end
#
# If a block is passed, that block should cause the specified number of
# If a block is passed, asserts that the block will cause the specified number of
# jobs to be performed.
#
# def test_jobs_again
......@@ -279,7 +279,7 @@ def assert_performed_jobs(number, only: nil, except: nil, queue: nil, &block)
# end
# end
#
# If a block is passed, that block should not cause any job to be performed.
# If a block is passed, asserts that the block will not cause any job to be performed.
#
# def test_jobs_again
# assert_no_performed_jobs do
......@@ -347,7 +347,7 @@ def assert_no_performed_jobs(only: nil, except: nil, queue: nil, &block)
# end
#
#
# If a block is passed, that block should cause the job to be
# If a block is passed, asserts that the block will cause the job to be
# enqueued with the given arguments.
#
# def test_assert_enqueued_with
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册