You can suppress the warnings in test environments by adding this to the configuration/environments/test.rb:
ActiveSupport::Deprecation.silenced = true