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.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/actionpack/test/active_record_unit.rb b/actionpack/test/active_record_unit.rb
index 5f2745b593..d4cc474478 100644
--- a/actionpack/test/active_record_unit.rb
+++ b/actionpack/test/active_record_unit.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/abstract_unit'
+require 'abstract_unit'
# Define the essentials
class ActiveRecordTestConnector
@@ -84,7 +84,6 @@ class ActiveRecordTestConnector
end
end
-# Test case for inheritance
class ActiveRecordTestCase < Test::Unit::TestCase
# Set our fixture path
if ActiveRecordTestConnector.able_to_connect
@@ -100,9 +99,7 @@ class ActiveRecordTestCase < Test::Unit::TestCase
super if ActiveRecordTestConnector.connected
end
- # Default so Test::Unit::TestCase doesn't complain
- def test_truth
- end
+ def default_test; end
end
ActiveRecordTestConnector.setup