1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Don't load rubygems for isolated tests

This commit is contained in:
Joshua Peek 2009-10-03 21:51:34 -05:00
parent 75a2f00c97
commit 660eb068d3

View file

@ -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'))