diff options
author | Marc Ignacio <marcrendlignacio@gmail.com> | 2017-06-21 03:50:05 +0800 |
---|---|---|
committer | Marc Ignacio <marcrendlignacio@gmail.com> | 2017-06-21 04:03:26 +0800 |
commit | 54045ccd5150fe3fdbab30fbfef48c286c3afff7 (patch) | |
tree | c8bc0eede0a37fbc20324cb723b18b702c313090 /tools | |
parent | 95ee77b3aeed0eb9cbac22268b398a7917e536d3 (diff) | |
download | rails-54045ccd5150fe3fdbab30fbfef48c286c3afff7.tar.gz rails-54045ccd5150fe3fdbab30fbfef48c286c3afff7.tar.bz2 rails-54045ccd5150fe3fdbab30fbfef48c286c3afff7.zip |
Adds missing minor doc about tools/test.rb [ci skip]
... and minor typo fix
Diffstat (limited to 'tools')
-rw-r--r-- | tools/README.md | 2 | ||||
-rw-r--r-- | tools/test.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/README.md b/tools/README.md index b2e7e4b0ae..f133b27128 100644 --- a/tools/README.md +++ b/tools/README.md @@ -6,3 +6,5 @@ They aren't used by Rails apps directly. * `console` drops you in irb and loads local Rails repos * `profile` profiles `Kernel#require` to help reduce startup time * `line_statistics` provides CodeTools module and LineStatistics class to count lines + * `test` is loaded by every major component of Rails to simplify testing, for example: + `cd ./actioncable; bin/test ./path/to/actioncable_test_with_line_number.rb:5` diff --git a/tools/test.rb b/tools/test.rb index 1a1eca8f95..52e9c19198 100644 --- a/tools/test.rb +++ b/tools/test.rb @@ -8,7 +8,7 @@ require "rails/test_unit/line_filtering" require "active_support/test_case" class << Rails - # Necessary to get rerun-snippts working. + # Necessary to get rerun-snippets working. def root @root ||= Pathname.new(COMPONENT_ROOT) end |