Skip to content

Commit

Permalink
Remove unneeded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jan 6, 2012
1 parent 0db9394 commit 3ca7fa9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 180 deletions.
18 changes: 0 additions & 18 deletions activesupport/test/deprecation_test.rb
Expand Up @@ -166,22 +166,4 @@ def test_deprecation_with_alternate_method
def test_deprecation_with_explicit_message
assert_deprecated(/you now need to do something extra for this one/) { @dtc.d }
end

unless defined?(::MiniTest)
def test_assertion_failed_error_doesnt_spout_deprecation_warnings
error_class = Class.new(StandardError) do
def message
ActiveSupport::Deprecation.warn 'warning in error message'
super
end
end

raise error_class.new('hmm')

rescue => e
error = Test::Unit::Error.new('testing ur doodz', e)
assert_not_deprecated { error.message }
assert_nil @last_message
end
end
end
162 changes: 0 additions & 162 deletions activesupport/test/isolation_test.rb

This file was deleted.

0 comments on commit 3ca7fa9

Please sign in to comment.