File: //usr/local/rvm/gems/default/doc/actionmailer-6.1.4.1/ri/ActionMailer/TestHelper/assert_emails-i.ri
U:RDoc::AnyMethod[iI"assert_emails:ETI"+ActionMailer::TestHelper#assert_emails;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"EAsserts that the number of emails sent matches the given number.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"def test_emails
;TI" assert_emails 0
;TI") ContactMailer.welcome.deliver_now
;TI" assert_emails 1
;TI") ContactMailer.welcome.deliver_now
;TI" assert_emails 2
;TI" end
;T:@format0o;
; [I"KIf a block is passed, that block should cause the specified number of ;TI"emails to be sent.;T@o;; [I"def test_emails_again
;TI" assert_emails 1 do
;TI"+ ContactMailer.welcome.deliver_now
;TI" end
;TI"
;TI" assert_emails 2 do
;TI"+ ContactMailer.welcome.deliver_now
;TI"- ContactMailer.welcome.deliver_later
;TI" end
;TI"end;T;
0:
@fileI"%lib/action_mailer/test_helper.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(number, &block);T@(FI"TestHelper;TcRDoc::NormalModule00