diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-06 15:36:06 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-06 15:36:36 -0300 |
commit | 2fc3a30e1775732cfa0f84256b452197465f4c7f (patch) | |
tree | 9850cf6398d42879e07646d6dc5c356dcaa3c151 /activesupport/lib | |
parent | c8fef32a661311b31bbeb207bb799af61a8f750b (diff) | |
download | rails-2fc3a30e1775732cfa0f84256b452197465f4c7f.tar.gz rails-2fc3a30e1775732cfa0f84256b452197465f4c7f.tar.bz2 rails-2fc3a30e1775732cfa0f84256b452197465f4c7f.zip |
Remove more references to Test::Unit
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/testing/deprecation.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/activesupport/lib/active_support/testing/deprecation.rb b/activesupport/lib/active_support/testing/deprecation.rb index 0135185a47..a8342904dc 100644 --- a/activesupport/lib/active_support/testing/deprecation.rb +++ b/activesupport/lib/active_support/testing/deprecation.rb @@ -34,22 +34,3 @@ module ActiveSupport end end end - -begin - require 'test/unit/error' -rescue LoadError - # Using miniunit, ignore. -else - module Test - module Unit - class Error #:nodoc: - # Silence warnings when reporting test errors. - def message_with_silenced_deprecation - ActiveSupport::Deprecation.silence { message_without_silenced_deprecation } - end - alias_method :message_without_silenced_deprecation, :message - alias_method :message, :message_with_silenced_deprecation - end - end - end -end |