aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/abstract_unit.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-02-28 18:16:57 -0600
committerJoshua Peek <josh@joshpeek.com>2010-02-28 18:16:57 -0600
commit6c8d852056c0445def1622d06e007ee7831e14a3 (patch)
tree1fa5cc710b4f58f348a1507d9dd416c2d8aa7844 /activesupport/test/abstract_unit.rb
parentfef7a77386b0e738f3b5c25fd9ab0350a6e56d6c (diff)
downloadrails-6c8d852056c0445def1622d06e007ee7831e14a3.tar.gz
rails-6c8d852056c0445def1622d06e007ee7831e14a3.tar.bz2
rails-6c8d852056c0445def1622d06e007ee7831e14a3.zip
fix up activesupport test load paths
Diffstat (limited to 'activesupport/test/abstract_unit.rb')
-rw-r--r--activesupport/test/abstract_unit.rb3
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'