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:
parent
80353906bc
commit
c679153ee9
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue