mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove dead abort_tests method.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
c9e0002d36
commit
9339db70c6
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue