diff options
-rwxr-xr-x | actionmailer/bin/test | 3 | ||||
-rwxr-xr-x | actionpack/bin/test | 3 | ||||
-rwxr-xr-x | actionview/bin/test | 3 | ||||
-rwxr-xr-x | activemodel/bin/test | 3 | ||||
-rwxr-xr-x | activesupport/bin/test | 3 | ||||
-rw-r--r-- | tools/test.rb | 12 |
6 files changed, 27 insertions, 0 deletions
diff --git a/actionmailer/bin/test b/actionmailer/bin/test new file mode 100755 index 0000000000..2827e79217 --- /dev/null +++ b/actionmailer/bin/test @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +COMPONENT_ROOT = File.expand_path("../../", __FILE__) +require File.expand_path("../tools/test", COMPONENT_ROOT) diff --git a/actionpack/bin/test b/actionpack/bin/test new file mode 100755 index 0000000000..2827e79217 --- /dev/null +++ b/actionpack/bin/test @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +COMPONENT_ROOT = File.expand_path("../../", __FILE__) +require File.expand_path("../tools/test", COMPONENT_ROOT) diff --git a/actionview/bin/test b/actionview/bin/test new file mode 100755 index 0000000000..2827e79217 --- /dev/null +++ b/actionview/bin/test @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +COMPONENT_ROOT = File.expand_path("../../", __FILE__) +require File.expand_path("../tools/test", COMPONENT_ROOT) diff --git a/activemodel/bin/test b/activemodel/bin/test new file mode 100755 index 0000000000..2827e79217 --- /dev/null +++ b/activemodel/bin/test @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +COMPONENT_ROOT = File.expand_path("../../", __FILE__) +require File.expand_path("../tools/test", COMPONENT_ROOT) diff --git a/activesupport/bin/test b/activesupport/bin/test new file mode 100755 index 0000000000..2827e79217 --- /dev/null +++ b/activesupport/bin/test @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +COMPONENT_ROOT = File.expand_path("../../", __FILE__) +require File.expand_path("../tools/test", COMPONENT_ROOT) 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) |