aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-06-29 15:58:30 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-06-29 16:02:52 +0300
commitff090977c1e7f7e0382be6f62910af03788d2eeb (patch)
tree54bb500de448a13dd458f1a618c014bc7638af79 /actionmailer
parent1f4202611cae45ca9047d9fec73a7b631e934fa7 (diff)
downloadrails-ff090977c1e7f7e0382be6f62910af03788d2eeb.tar.gz
rails-ff090977c1e7f7e0382be6f62910af03788d2eeb.tar.bz2
rails-ff090977c1e7f7e0382be6f62910af03788d2eeb.zip
Fix docs of `assert_no_emails` [ci skip]
`assert_no_emails` is shortcut for `assert_emails 0, &block`.
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/test_helper.rb b/actionmailer/lib/action_mailer/test_helper.rb
index 6906472660..a4751916af 100644
--- a/actionmailer/lib/action_mailer/test_helper.rb
+++ b/actionmailer/lib/action_mailer/test_helper.rb
@@ -60,7 +60,7 @@ module ActionMailer
#
# Note: This assertion is simply a shortcut for:
#
- # assert_emails 0
+ # assert_emails 0, &block
def assert_no_emails(&block)
assert_emails 0, &block
end