1
0
Fork 0
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:
bogdanvlviv 2018-06-29 15:58:30 +03:00
parent 1f4202611c
commit ff090977c1
No known key found for this signature in database
GPG key ID: E4ACD76A6DB6DFDD

View file

@ -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