Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix namespace collision with test-unit-activesupport

  • Loading branch information...
commit e66c240a8f46eba1f7d0816c9d72e5cb89f997da 1 parent eaeebc2
@jkraemer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/testing/deprecation.rb
View
2  activesupport/lib/active_support/testing/deprecation.rb
@@ -45,7 +45,7 @@ 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
Please sign in to comment.
Something went wrong with that request. Please try again.