diff options
-rwxr-xr-x | activerecord/test/base_test.rb | 2 | ||||
-rw-r--r-- | activerecord/test/class_inheritable_attributes_test.rb | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb index 016a7c781e..e4204c76cc 100755 --- a/activerecord/test/base_test.rb +++ b/activerecord/test/base_test.rb @@ -1,3 +1,5 @@ +require 'abstract_unit' +require 'fixtures/topic' require 'fixtures/reply' require 'fixtures/company' require 'fixtures/developer' diff --git a/activerecord/test/class_inheritable_attributes_test.rb b/activerecord/test/class_inheritable_attributes_test.rb index e42f620284..3419ffbd9a 100644 --- a/activerecord/test/class_inheritable_attributes_test.rb +++ b/activerecord/test/class_inheritable_attributes_test.rb @@ -1,6 +1,5 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') - require 'test/unit' +require 'abstract_unit' require 'active_support/class_inheritable_attributes' class A @@ -30,4 +29,4 @@ class ClassInheritableAttributesTest < Test::Unit::TestCase assert_equal [ :one, :two, :four ], D.read_inheritable_attribute("first") assert_equal [ :one, :two ], B.read_inheritable_attribute("first") end -end
\ No newline at end of file +end |