aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/autorun.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/testing/autorun.rb')
-rw-r--r--activesupport/lib/active_support/testing/autorun.rb15
1 files changed, 5 insertions, 10 deletions
diff --git a/activesupport/lib/active_support/testing/autorun.rb b/activesupport/lib/active_support/testing/autorun.rb
index 84c6b89340..889b41659a 100644
--- a/activesupport/lib/active_support/testing/autorun.rb
+++ b/activesupport/lib/active_support/testing/autorun.rb
@@ -1,12 +1,7 @@
-gem 'minitest'
+# frozen_string_literal: true
-require 'minitest'
+gem "minitest"
-if Minitest.respond_to?(:run_with_rails_extension)
- unless Minitest.run_with_rails_extension
- Minitest.run_with_autorun = true
- Minitest.autorun
- end
-else
- Minitest.autorun
-end
+require "minitest"
+
+Minitest.autorun