aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/abstract_unit.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-11-09 22:44:28 -0600
committerJoshua Peek <josh@joshpeek.com>2009-11-09 22:44:28 -0600
commit94058c689a1ad74ccc6df2732c360fcdea267cae (patch)
treea29d0a330f0dba03ebd0ad7e1fd19ea5d478afb2 /activesupport/test/abstract_unit.rb
parent335c0e62cd1e809a79e209977a62dba2e583cb88 (diff)
downloadrails-94058c689a1ad74ccc6df2732c360fcdea267cae.tar.gz
rails-94058c689a1ad74ccc6df2732c360fcdea267cae.tar.bz2
rails-94058c689a1ad74ccc6df2732c360fcdea267cae.zip
Remove automatic rubygems loading from AS test runner
Diffstat (limited to 'activesupport/test/abstract_unit.rb')
-rw-r--r--activesupport/test/abstract_unit.rb10
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'