diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-02-28 18:16:57 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-02-28 18:16:57 -0600 |
commit | 6c8d852056c0445def1622d06e007ee7831e14a3 (patch) | |
tree | 1fa5cc710b4f58f348a1507d9dd416c2d8aa7844 | |
parent | fef7a77386b0e738f3b5c25fd9ab0350a6e56d6c (diff) | |
download | rails-6c8d852056c0445def1622d06e007ee7831e14a3.tar.gz rails-6c8d852056c0445def1622d06e007ee7831e14a3.tar.bz2 rails-6c8d852056c0445def1622d06e007ee7831e14a3.zip |
fix up activesupport test load paths
-rw-r--r-- | activesupport/test/abstract_unit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb index 33be6f65bf..da338a2a26 100644 --- a/activesupport/test/abstract_unit.rb +++ b/activesupport/test/abstract_unit.rb @@ -1,5 +1,8 @@ require File.expand_path('../../../load_paths', __FILE__) +lib = File.expand_path("#{File.dirname(__FILE__)}/../lib") +$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib) + require 'test/unit' require 'mocha' |