aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/plugin/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/plugin/test.rb')
-rw-r--r--railties/lib/rails/plugin/test.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/rails/plugin/test.rb b/railties/lib/rails/plugin/test.rb
new file mode 100644
index 0000000000..ff043b488e
--- /dev/null
+++ b/railties/lib/rails/plugin/test.rb
@@ -0,0 +1,7 @@
+require "rails/test_unit/minitest_plugin"
+
+Rails::TestUnitReporter.executable = "bin/test"
+
+Minitest.run_via = :rails
+
+require "active_support/testing/autorun"