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:
parent
f9cb24c3df
commit
b5c012f370
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue