aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/test_helper.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-13 12:42:13 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-13 12:42:13 -0500
commita9f5f4bb451a0e0c666dc694a870371e7cc3ee99 (patch)
treed026be7e849a907bd83fda66944ee0232f32f194 /actionpack/test/new_base/test_helper.rb
parentf3f2e0b00d8b422fd5921fb709ac7a9570ad2a6a (diff)
downloadrails-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.rb4
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'