1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

test cases should inherit from AS::TestCase

This commit is contained in:
Aaron Patterson 2012-01-05 16:55:54 -08:00
parent 38a0606d9b
commit 5d09d395de
3 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
require 'active_support/test_case'
require 'active_support/core_ext/class/attribute'
module ActionMailer

View file

@ -9,7 +9,7 @@ class AssetHostMailer < ActionMailer::Base
end
end
class AssetHostTest < Test::Unit::TestCase
class AssetHostTest < ActiveSupport::TestCase
def setup
set_delivery_method :test
ActionMailer::Base.perform_deliveries = true

View file

@ -43,7 +43,7 @@ class ExplicitLayoutMailer < ActionMailer::Base
end
end
class LayoutMailerTest < Test::Unit::TestCase
class LayoutMailerTest < ActiveSupport::TestCase
def setup
set_delivery_method :test
ActionMailer::Base.perform_deliveries = true