diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-06-20 16:12:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-20 16:12:47 -0400 |
commit | ec8e38943b360312c8db97ca5d1ad4b09eba6683 (patch) | |
tree | d4c5c8a8ca54f6630fa1ede734cc9caf785650b6 /tools | |
parent | d37af71886ded18885c4f71874d887fc5b638f2e (diff) | |
parent | 54045ccd5150fe3fdbab30fbfef48c286c3afff7 (diff) | |
download | rails-ec8e38943b360312c8db97ca5d1ad4b09eba6683.tar.gz rails-ec8e38943b360312c8db97ca5d1ad4b09eba6683.tar.bz2 rails-ec8e38943b360312c8db97ca5d1ad4b09eba6683.zip |
Merge pull request #29510 from padi/minor_docs_update
Updates README on rails internal dev tools
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 |