aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-09-25 20:38:12 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2016-09-25 20:38:12 +0200
commit0dfc467587a797ce9eb44cbe4f496b86f3462e79 (patch)
tree7ca241048a93e25736d9b18b1f4ae3084b51a5b2 /activesupport
parent29f0fbd5db643b885665e4a14c7de3bf6c0d9c96 (diff)
downloadrails-0dfc467587a797ce9eb44cbe4f496b86f3462e79.tar.gz
rails-0dfc467587a797ce9eb44cbe4f496b86f3462e79.tar.bz2
rails-0dfc467587a797ce9eb44cbe4f496b86f3462e79.zip
fffffff, Add code missing in 29f0fbd
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/testing/autorun.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/testing/autorun.rb b/activesupport/lib/active_support/testing/autorun.rb
index 2e7b7246aa..3108e3e549 100644
--- a/activesupport/lib/active_support/testing/autorun.rb
+++ b/activesupport/lib/active_support/testing/autorun.rb
@@ -2,8 +2,8 @@ gem "minitest"
require "minitest"
-if Minitest.respond_to?(:run_with_rails_extension) && !Minitest.run_with_rails_extension
- Minitest.run_with_autorun = true
+if Minitest.respond_to?(:run_via) && !Minitest.run_via[:rails]
+ Minitest.run_via[:ruby] = true
end
Minitest.autorun