rails4: silence deprecation warnings in tests

make sure to remove this once we're on rails 4

refs #CNVS-21596

Change-Id: I1b6ddef79ab2bae44a81e3e53112725b9c229aff
Reviewed-on: https://gerrit.instructure.com/59737
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
This commit is contained in:
James Williams 2015-07-31 11:16:44 -06:00
parent f9cb24c3df
commit b5c012f370
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ unless CANVAS_RAILS3
alias_method :compare_without_round, :<=>
alias_method :<=>, :compare_with_round
end
# temporary patch to keep things sane
# TODO: actually fix the deprecation messages once we're on Rails 4 permanently and remove this
ActiveSupport::Deprecation.silenced = true
end
module RSpec::Rails