lib/active_support/testing/autorun.rb in activesupport-5.0.7.2 vs lib/active_support/testing/autorun.rb in activesupport-5.1.0.beta1
- old
+ new
@@ -1,5 +1,9 @@
-gem 'minitest'
+gem "minitest"
-require 'minitest'
+require "minitest"
+
+if Minitest.respond_to?(:run_via) && !Minitest.run_via.set?
+ Minitest.run_via = :ruby
+end
Minitest.autorun