Permalink
Browse files

fix namespace collision with test-unit-activesupport

  • Loading branch information...
1 parent eaeebc2 commit e66c240a8f46eba1f7d0816c9d72e5cb89f997da @jkraemer jkraemer committed Jun 10, 2012
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

0 comments on commit e66c240

Please sign in to comment.