diff options
-rw-r--r-- | actionpack/test/active_record_unit.rb | 9 |
1 files changed, 0 insertions, 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 |