aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-01-01 16:17:24 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-01-01 16:17:24 +0900
commit75e309675c9266887b043fc64dd400d3b94cb457 (patch)
tree451e86d506e632ea3deaabbd88e0eb7f134ff2ff /railties
parente632c2fa4cb60072a778ce95c952a0fa95e5b074 (diff)
downloadrails-75e309675c9266887b043fc64dd400d3b94cb457.tar.gz
rails-75e309675c9266887b043fc64dd400d3b94cb457.tar.bz2
rails-75e309675c9266887b043fc64dd400d3b94cb457.zip
add `bin/test` script for railties
The railties test does not require specific setup performed in the rake-tasks, so we can use test runner as well as other components.
Diffstat (limited to 'railties')
-rwxr-xr-xrailties/bin/test4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/bin/test b/railties/bin/test
new file mode 100755
index 0000000000..a7beb14b27
--- /dev/null
+++ b/railties/bin/test
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+
+COMPONENT_ROOT = File.expand_path("..", __dir__)
+require File.expand_path("../tools/test", COMPONENT_ROOT)