diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-06-08 14:53:26 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-06-11 14:12:15 +0200 |
commit | 54d84cbb77a7fbc6359eda4eb40cc7da29c426e1 (patch) | |
tree | 7cb52a1266cc6e9c8e059f5987d1ab9bc9300edf /activemodel/bin/test | |
parent | eec932704f3336294a08957b03e4ec1b18198bf1 (diff) | |
download | rails-54d84cbb77a7fbc6359eda4eb40cc7da29c426e1.tar.gz rails-54d84cbb77a7fbc6359eda4eb40cc7da29c426e1.tar.bz2 rails-54d84cbb77a7fbc6359eda4eb40cc7da29c426e1.zip |
use our runner (`bin/test`) for framework components.
This adds a script `bin/test` to most Rails framework components. The
script uses the rails minitest plugin to augment the runner.
See https://github.com/rails/rails/pull/19571 for details about the
plugin.
I did not yet add `bin/test` for activerecord, activejob and railties.
These components rely on specific setup performed in the rake-tasks.
Diffstat (limited to 'activemodel/bin/test')
-rwxr-xr-x | activemodel/bin/test | 3 |
1 files changed, 3 insertions, 0 deletions
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) |