test/test_armailer.rb in adzap-ar_mailer-1.4.4 vs test/test_armailer.rb in adzap-ar_mailer-2.0.0

- old
+ new

@@ -3,10 +3,11 @@ require 'action_mailer/ar_mailer' ## # Pretend mailer -class Mailer < ActionMailer::ARMailer +class Mailer < ActionMailer::Base + self.delivery_method = :activerecord def mail @mail = Object.new def @mail.encoded() 'email' end def @mail.from() ['nobody@example.com'] end