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:
parent
38a0606d9b
commit
5d09d395de
3 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
require 'active_support/test_case'
|
||||
require 'active_support/core_ext/class/attribute'
|
||||
|
||||
module ActionMailer
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue