lib/active_support/testing/deprecation.rb in activesupport-3.2.5 vs lib/active_support/testing/deprecation.rb in activesupport-3.2.6
- old
+ new
@@ -43,10 +43,10 @@
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 }
+ ::ActiveSupport::Deprecation.silence { message_without_silenced_deprecation }
end
alias_method :message_without_silenced_deprecation, :message
alias_method :message, :message_with_silenced_deprecation
end
end