mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix docs of assert_no_emails
[ci skip]
`assert_no_emails` is shortcut for `assert_emails 0, &block`.
This commit is contained in:
parent
1f4202611c
commit
ff090977c1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue