1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

Get rid of annoying deprecation warning from Rails 4.2

This commit is contained in:
Carlos Antonio da Silva 2015-01-04 15:05:23 -02:00
parent 80353906bc
commit c679153ee9

View file

@ -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