Permalink
Browse files

Make all of tests runnable on their own.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent b23c72f commit 90e8707a363c9bb05c46919088fbf69bc2dd1b31 Marcel Molina committed Oct 19, 2005
Showing with 4 additions and 3 deletions.
  1. +2 −0 activerecord/test/base_test.rb
  2. +2 −3 activerecord/test/class_inheritable_attributes_test.rb
@@ -1,3 +1,5 @@
+require 'abstract_unit'
+require 'fixtures/topic'
require 'fixtures/reply'
require 'fixtures/company'
require 'fixtures/developer'
@@ -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 @@ def test_second_level
assert_equal [ :one, :two, :four ], D.read_inheritable_attribute("first")
assert_equal [ :one, :two ], B.read_inheritable_attribute("first")
end
-end
+end

0 comments on commit 90e8707

Please sign in to comment.