未验证 提交 45b6ee6a 编写于 作者: G Gannon McGibbon 提交者: GitHub

Merge pull request #34220 from bogdanvlviv/follow-up-33571

Clarify docs of `ActiveJob::TestHelper` [ci skip]
......@@ -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.
先完成此消息的编辑!
想要评论请 注册