From ff090977c1e7f7e0382be6f62910af03788d2eeb Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Fri, 29 Jun 2018 15:58:30 +0300 Subject: Fix docs of `assert_no_emails` [ci skip] `assert_no_emails` is shortcut for `assert_emails 0, &block`. --- actionmailer/lib/action_mailer/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer') 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 -- cgit v1.2.3