diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-21 11:32:31 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-21 11:32:31 -0500 |
commit | 3e35d30c0cab711fcc9feddd23f2f682f5d0a050 (patch) | |
tree | 7e00327360390f0147d8b0337df3f5e4a7cda1c6 | |
parent | 9fbb2c571b65e0501bf3570a3d49e553a9ae39c1 (diff) | |
download | rails-3e35d30c0cab711fcc9feddd23f2f682f5d0a050.tar.gz rails-3e35d30c0cab711fcc9feddd23f2f682f5d0a050.tar.bz2 rails-3e35d30c0cab711fcc9feddd23f2f682f5d0a050.zip |
Always add actionpack/lib to load path for isolated tests
-rw-r--r-- | actionpack/test/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 05b15d38ee..86c8a95a43 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -4,9 +4,9 @@ begin rescue LoadError $:.unshift "#{root}/activesupport/lib" $:.unshift "#{root}/activemodel/lib" - $:.unshift "#{root}/lib" end +$:.unshift(File.dirname(__FILE__) + '/../lib') $:.unshift(File.dirname(__FILE__) + '/lib') $:.unshift(File.dirname(__FILE__) + '/fixtures/helpers') $:.unshift(File.dirname(__FILE__) + '/fixtures/alternate_helpers') |