diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/test.rb b/tools/test.rb new file mode 100644 index 0000000000..50cce2081a --- /dev/null +++ b/tools/test.rb @@ -0,0 +1,10 @@ +$: << 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 |