diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 17:12:46 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 17:12:46 -0800 |
commit | b8d8c50785fdad21a524fe5149621f91c97583cd (patch) | |
tree | f600ae75f68daf64a3f144d0a2d285f1b3e77328 /activesupport/test/core_ext/class | |
parent | a2d68c1086951d831463ccedd7bf872c50be9ade (diff) | |
download | rails-b8d8c50785fdad21a524fe5149621f91c97583cd.tar.gz rails-b8d8c50785fdad21a524fe5149621f91c97583cd.tar.bz2 rails-b8d8c50785fdad21a524fe5149621f91c97583cd.zip |
use AS::TestCase as the base class
Diffstat (limited to 'activesupport/test/core_ext/class')
-rw-r--r-- | activesupport/test/core_ext/class/attribute_accessor_test.rb | 2 | ||||
-rw-r--r-- | activesupport/test/core_ext/class/delegating_attributes_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/class/attribute_accessor_test.rb b/activesupport/test/core_ext/class/attribute_accessor_test.rb index 6b50f8db37..3822e7af66 100644 --- a/activesupport/test/core_ext/class/attribute_accessor_test.rb +++ b/activesupport/test/core_ext/class/attribute_accessor_test.rb @@ -1,7 +1,7 @@ require 'abstract_unit' require 'active_support/core_ext/class/attribute_accessors' -class ClassAttributeAccessorTest < Test::Unit::TestCase +class ClassAttributeAccessorTest < ActiveSupport::TestCase def setup @class = Class.new do cattr_accessor :foo diff --git a/activesupport/test/core_ext/class/delegating_attributes_test.rb b/activesupport/test/core_ext/class/delegating_attributes_test.rb index cbfb290c48..148f82946c 100644 --- a/activesupport/test/core_ext/class/delegating_attributes_test.rb +++ b/activesupport/test/core_ext/class/delegating_attributes_test.rb @@ -20,7 +20,7 @@ module DelegatingFixtures end end -class DelegatingAttributesTest < Test::Unit::TestCase +class DelegatingAttributesTest < ActiveSupport::TestCase include DelegatingFixtures attr_reader :single_class |