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
1 changed files with 4 additions and 0 deletions

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