aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-10-16 00:26:18 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-10-16 00:26:18 +0300
commit0925d7340e719a1d82fb9faf81233cb33405de51 (patch)
treeb00c520d8f3b465a0e4246955f1543774c1c5599
parent6fe45f378ab7bc88fecb99576fa367f83b3255f3 (diff)
downloadrails-0925d7340e719a1d82fb9faf81233cb33405de51.tar.gz
rails-0925d7340e719a1d82fb9faf81233cb33405de51.tar.bz2
rails-0925d7340e719a1d82fb9faf81233cb33405de51.zip
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
-rw-r--r--activejob/lib/active_job/test_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activejob/lib/active_job/test_helper.rb b/activejob/lib/active_job/test_helper.rb
index 261b68d4f8..229855c5d9 100644
--- a/activejob/lib/active_job/test_helper.rb
+++ b/activejob/lib/active_job/test_helper.rb
@@ -197,7 +197,7 @@ module ActiveJob
# 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 @@ module ActiveJob
# 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 @@ module ActiveJob
# 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