Get rid of annoying deprecation warning from Rails 4.2
This commit is contained in:
parent
80353906bc
commit
c679153ee9
|
@ -36,6 +36,10 @@ else
|
|||
ActionDispatch::Assertions::NO_STRIP << "label"
|
||||
end
|
||||
|
||||
if ActiveSupport::TestCase.respond_to?(:test_order=)
|
||||
ActiveSupport::TestCase.test_order = :random
|
||||
end
|
||||
|
||||
class ActionView::TestCase
|
||||
include MiscHelpers
|
||||
include SimpleForm::ActionViewExtensions::FormHelper
|
||||
|
|
Loading…
Reference in New Issue