aboutsummaryrefslogtreecommitdiffstats
path: root/tools/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test.rb')
-rw-r--r--tools/test.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/test.rb b/tools/test.rb
new file mode 100644
index 0000000000..1d223f99a2
--- /dev/null
+++ b/tools/test.rb
@@ -0,0 +1,12 @@
+$: << File.expand_path("test", COMPONENT_ROOT)
+require File.expand_path("../../load_paths", __FILE__)
+require "rails/test_unit/minitest_plugin"
+
+module Rails
+ # Necessary to get rerun-snippts working.
+ def self.root
+ @root ||= Pathname.new(COMPONENT_ROOT)
+ end
+end
+
+exit Minitest.run(ARGV)