aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-03 21:51:34 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-03 21:51:34 -0500
commit660eb068d3aaed0ad7769fe9b258d7e471972cbc (patch)
tree3ccf0d1cc391f91627b3f39092f350af5ca87d0f
parent75a2f00c9790f2fd7cebb4337cab1404e9e03eae (diff)
downloadrails-660eb068d3aaed0ad7769fe9b258d7e471972cbc.tar.gz
rails-660eb068d3aaed0ad7769fe9b258d7e471972cbc.tar.bz2
rails-660eb068d3aaed0ad7769fe9b258d7e471972cbc.zip
Don't load rubygems for isolated tests
-rw-r--r--actionpack/test/ts_isolated.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/test/ts_isolated.rb b/actionpack/test/ts_isolated.rb
index 4a321c631f..21d62f6aa7 100644
--- a/actionpack/test/ts_isolated.rb
+++ b/actionpack/test/ts_isolated.rb
@@ -1,7 +1,8 @@
+$:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib')
+
require 'test/unit'
require 'rbconfig'
-require 'rubygems'
-require 'active_support'
+require 'active_support/core_ext/kernel/reporting'
class TestIsolated < Test::Unit::TestCase
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))