aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-09-12 15:22:11 -0500
committerYehuda Katz <wycats@gmail.com>2009-09-12 15:22:11 -0500
commitddb4600ce608b14f9fa07bf1196b78e1d43ad999 (patch)
treec966da55cf5b475cdacb137597dfa1204e6f2547 /actionpack/test/new_base
parenta8a336cbfc55f91dc8befaad2425ff42085a1a4f (diff)
downloadrails-ddb4600ce608b14f9fa07bf1196b78e1d43ad999.tar.gz
rails-ddb4600ce608b14f9fa07bf1196b78e1d43ad999.tar.bz2
rails-ddb4600ce608b14f9fa07bf1196b78e1d43ad999.zip
Get ActionPack's test running on bundled gems. This should make running tests on new machines, as well as CI, work well.
Diffstat (limited to 'actionpack/test/new_base')
-rw-r--r--actionpack/test/new_base/test_helper.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/test/new_base/test_helper.rb b/actionpack/test/new_base/test_helper.rb
index 0833e1a11d..5a901ab9d8 100644
--- a/actionpack/test/new_base/test_helper.rb
+++ b/actionpack/test/new_base/test_helper.rb
@@ -1,10 +1,7 @@
$:.unshift(File.dirname(__FILE__) + '/../../lib')
-$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib')
$:.unshift(File.dirname(__FILE__) + '/../lib')
-require 'rubygems'
-gem "rack", "~> 1.0.0"
-gem "rack-test", "~> 0.4.2"
+require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "vendor", "gems", "environment"))
require 'test/unit'
require 'active_support'