test/test_armailer.rb in ar_mailer-1.3.1 vs test/test_armailer.rb in ar_mailer-1.3.2

- old
+ new

@@ -1,8 +1,9 @@ -require 'test/unit' require 'action_mailer' require 'action_mailer/ar_mailer' +require 'rubygems' +require 'minitest/autorun' ## # Pretend mailer class Mailer < ActionMailer::ARMailer @@ -14,10 +15,10 @@ def @mail.destinations() %w[user1@example.com user2@example.com] end end end -class TestARMailer < Test::Unit::TestCase +class TestARMailer < MiniTest::Unit::TestCase def setup Mailer.email_class = Email Email.records.clear