diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-13 12:42:13 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-13 12:42:13 -0500 |
commit | a9f5f4bb451a0e0c666dc694a870371e7cc3ee99 (patch) | |
tree | d026be7e849a907bd83fda66944ee0232f32f194 /actionpack/test/new_base/test_helper.rb | |
parent | f3f2e0b00d8b422fd5921fb709ac7a9570ad2a6a (diff) | |
download | rails-a9f5f4bb451a0e0c666dc694a870371e7cc3ee99.tar.gz rails-a9f5f4bb451a0e0c666dc694a870371e7cc3ee99.tar.bz2 rails-a9f5f4bb451a0e0c666dc694a870371e7cc3ee99.zip |
Don't force test suite to use bundler
Diffstat (limited to 'actionpack/test/new_base/test_helper.rb')
-rw-r--r-- | actionpack/test/new_base/test_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/new_base/test_helper.rb b/actionpack/test/new_base/test_helper.rb index 5a901ab9d8..33ea519e77 100644 --- a/actionpack/test/new_base/test_helper.rb +++ b/actionpack/test/new_base/test_helper.rb @@ -1,7 +1,9 @@ $:.unshift(File.dirname(__FILE__) + '/../../lib') +$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib') $:.unshift(File.dirname(__FILE__) + '/../lib') -require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "vendor", "gems", "environment")) +bundler = File.join(File.dirname(__FILE__), '..', '..', 'vendor', 'gems', 'environment') +require bundler if File.exist?("#{bundler}.rb") require 'test/unit' require 'active_support' |