Skip to content

Commit

Permalink
Remove dead abort_tests method.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Nov 15, 2006
1 parent c9e0002 commit 9339db7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions actionpack/test/active_record_unit.rb
Expand Up @@ -102,15 +102,6 @@ def run(*args)
# 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

0 comments on commit 9339db7

Please sign in to comment.