diff options
author | Marcel Molina <marcel@vernix.org> | 2005-10-19 22:53:55 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-10-19 22:53:55 +0000 |
commit | 90e8707a363c9bb05c46919088fbf69bc2dd1b31 (patch) | |
tree | 54a37f85c70ddb699cae08c51e572f74f3ab900d | |
parent | b23c72fd4220b3d282ec07f63b0571fe5dfc4f0e (diff) | |
download | rails-90e8707a363c9bb05c46919088fbf69bc2dd1b31.tar.gz rails-90e8707a363c9bb05c46919088fbf69bc2dd1b31.tar.bz2 rails-90e8707a363c9bb05c46919088fbf69bc2dd1b31.zip |
Make all of tests runnable on their own.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-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 |