aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/active_record_unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/active_record_unit.rb')
-rw-r--r--actionpack/test/active_record_unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/active_record_unit.rb b/actionpack/test/active_record_unit.rb
index 2555eb7c1a..02cf3f707d 100644
--- a/actionpack/test/active_record_unit.rb
+++ b/actionpack/test/active_record_unit.rb
@@ -106,6 +106,7 @@ class ActiveRecordTestCase < Test::Unit::TestCase
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