diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-28 14:16:26 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-31 13:57:23 -0300 |
commit | eb4930e3c724cf71d6ce5bb2aec4af82b2025b03 (patch) | |
tree | 865e1be25c9bebfb1515adfee6be11dcb478e821 /actionmailer/lib/action_mailer | |
parent | d58d71f565848cccc1a3fa4ae504559042146c42 (diff) | |
download | rails-eb4930e3c724cf71d6ce5bb2aec4af82b2025b03.tar.gz rails-eb4930e3c724cf71d6ce5bb2aec4af82b2025b03.tar.bz2 rails-eb4930e3c724cf71d6ce5bb2aec4af82b2025b03.zip |
Inherit from MiniTest::Unit::TestCase instead of MiniTest::Spec
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/test_case.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionmailer/lib/action_mailer/test_case.rb b/actionmailer/lib/action_mailer/test_case.rb index 80f323873d..207f949fe2 100644 --- a/actionmailer/lib/action_mailer/test_case.rb +++ b/actionmailer/lib/action_mailer/test_case.rb @@ -10,13 +10,6 @@ module ActionMailer end class TestCase < ActiveSupport::TestCase - - # Use AM::TestCase for the base class when describing a mailer - register_spec_type(self) do |desc| - Class === desc && desc < ActionMailer::Base - end - register_spec_type(/Mailer( ?Test)?\z/i, self) - module Behavior extend ActiveSupport::Concern |