diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-11-09 22:44:28 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-11-09 22:44:28 -0600 |
commit | 94058c689a1ad74ccc6df2732c360fcdea267cae (patch) | |
tree | a29d0a330f0dba03ebd0ad7e1fd19ea5d478afb2 | |
parent | 335c0e62cd1e809a79e209977a62dba2e583cb88 (diff) | |
download | rails-94058c689a1ad74ccc6df2732c360fcdea267cae.tar.gz rails-94058c689a1ad74ccc6df2732c360fcdea267cae.tar.bz2 rails-94058c689a1ad74ccc6df2732c360fcdea267cae.zip |
Remove automatic rubygems loading from AS test runner
-rw-r--r-- | activesupport/test/abstract_unit.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb index f390c66838..8967b54537 100644 --- a/activesupport/test/abstract_unit.rb +++ b/activesupport/test/abstract_unit.rb @@ -7,16 +7,8 @@ rescue LoadError $:.unshift("#{root}/activerecord/lib") end - require 'test/unit' - -begin - require 'mocha' -rescue LoadError - $stderr.puts 'Loading rubygems' - require 'rubygems' - require 'mocha' -end +require 'mocha' ENV['NO_RELOAD'] = '1' require 'active_support' |