1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/commands
Kasper Timm Hansen 6629d51a27
Rely on Rails::Command's help output.
We end up with:

```
Usage:
  bin/rails routes [options]

Options:
  -c, [--controller=CONTROLLER]      # Filter by a specific controller, e.g. PostsController or Admin::PostsController.
  -g, [--grep=GREP]                  # Grep routes by a specific pattern.
  -E, [--expanded], [--no-expanded]  # Print routes expanded vertically with parts explained.
```

which does miss the bit about routes being printed in order.

Also:

* Renames options to ease help output readability, then clarifies each option.
* Fixes a bunch of indentation.
2018-03-13 20:56:37 +01:00
..
console_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
credentials_test.rb Do not add master key when RAILS_MASTER_KEY env specified (#31922) 2018-02-08 19:49:50 +09:00
dbconsole_test.rb Fix can't modify frozen String error in DBConsole 2017-08-29 16:50:51 +09:00
encrypted_test.rb Do not add master key when RAILS_MASTER_KEY env specified (#31922) 2018-02-08 19:49:50 +09:00
routes_test.rb Rely on Rails::Command's help output. 2018-03-13 20:56:37 +01:00
secrets_test.rb Deprecate encrypted secrets in favor of credentials. 2017-11-12 17:50:09 +01:00
server_test.rb Fix "NameError: undefined local variable or method `host'" 2018-03-05 08:02:04 +09:00