1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
bogdanvlviv 304906f1bd
Introduce ActionDispatch::Routing::ConsoleFormatter::Base
- Create `Base` and inherit `Sheet` and `Expanded` in order to
- prevent code duplication.
  - Remove trailing "\n" for components of `Expanded`.
  - There is no need for `Expanded#header` to return `@buffer` so return `nil` instead.

- Change `no_routes` message "No routes were found for this controller"
  since if use `-g`, it sounds incorrect.
  - Display `No routes were found for this controller.` if apply `-c`.
  - Display `No routes were found for this grep pattern.` if apply `-g`.

Related to #32130
2018-03-13 11:58:52 +02:00
..
abstract Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
assertions Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
controller Ruby 2.4: take advantage of String#unpack1 2018-03-01 22:42:51 -08:00
dispatch Introduce ActionDispatch::Routing::ConsoleFormatter::Base 2018-03-13 11:58:52 +02:00
fixtures Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
journey Use assert_empty and assert_not_empty 2018-01-25 23:32:59 -05:00
lib/controller Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
routing Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
abstract_unit.rb let drb make temprary server 2017-12-29 23:58:43 +09:00