From 9339db70c65219c2c575771e5c6a0fd58ee69316 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 15 Nov 2006 12:50:51 +0000 Subject: Remove dead abort_tests method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/active_record_unit.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/actionpack/test/active_record_unit.rb b/actionpack/test/active_record_unit.rb index bcca8822d8..fd29126354 100644 --- a/actionpack/test/active_record_unit.rb +++ b/actionpack/test/active_record_unit.rb @@ -102,15 +102,6 @@ class ActiveRecordTestCase < Test::Unit::TestCase # Default so Test::Unit::TestCase doesn't complain def test_truth end - - private - # If things go wrong, we don't want to run our test cases. We'll just define them to test nothing. - def abort_tests - $stderr.puts 'No Active Record connection, aborting tests.' - self.class.public_instance_methods.grep(/^test./).each do |method| - self.class.class_eval { define_method(method.to_sym){} } - end - end end ActiveRecordTestConnector.setup -- cgit v1.2.3