test/test_helper.rb in jbuilder-2.2.6 vs test/test_helper.rb in jbuilder-2.2.7
- old
+ new
@@ -1,10 +1,14 @@
require "bundler/setup"
+require "active_support"
require "rails/version"
if Rails::VERSION::STRING > "4.0"
require "active_support/testing/autorun"
else
require "test/unit"
end
-require "active_support/test_case"
+
+if ActiveSupport.respond_to?(:test_order=)
+ ActiveSupport.test_order = :random
+end