File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
actionmailer/lib/action_mailer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,20 @@ module TestHelper
32
32
# end
33
33
# end
34
34
#
35
- # If a block is passed, the method returns the +Mail::Message+s that were
36
- # processed, enabling further analysis.
35
+ # The method returns the +Mail::Message+s that were processed, enabling further
36
+ # analysis.
37
37
#
38
38
# def test_emails_more_thoroughly
39
39
# email = assert_emails 1 do
40
40
# ContactMailer.welcome.deliver_now
41
41
# end
42
- # assert_email "Hi there", email.subject
42
+ # assert_equal "Hi there", email.subject
43
43
#
44
44
# emails = assert_emails 2 do
45
45
# ContactMailer.welcome.deliver_now
46
46
# ContactMailer.welcome.deliver_later
47
47
# end
48
- # assert_email "Hi there", emails.first.subject
48
+ # assert_equal "Hi there", emails.first.subject
49
49
# end
50
50
def assert_emails ( number , &block )
51
51
if block_given?
You can’t perform that action at this time.
0 commit comments