mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
16bbb8efc4
commit
a6c06217a5
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ module ApplicationTests
|
|||
RUBY
|
||||
|
||||
output = Dir.chdir(app_path){ `rake routes` }
|
||||
assert_equal "Prefix Verb URI Pattern Controller#Action\ncart GET /cart(.:format) cart#show\n", output
|
||||
assert_equal "Prefix Verb URI Pattern Controller#Action\n cart GET /cart(.:format) cart#show\n", output
|
||||
end
|
||||
|
||||
def test_rake_routes_with_controller_environment
|
||||
|
@ -124,7 +124,7 @@ module ApplicationTests
|
|||
|
||||
ENV['CONTROLLER'] = 'cart'
|
||||
output = Dir.chdir(app_path){ `rake routes` }
|
||||
assert_equal "Prefix Verb URI Pattern Controller#Action\ncart GET /cart(.:format) cart#show\n", output
|
||||
assert_equal "Prefix Verb URI Pattern Controller#Action\n cart GET /cart(.:format) cart#show\n", output
|
||||
end
|
||||
|
||||
def test_rake_routes_displays_message_when_no_routes_are_defined
|
||||
|
|
Loading…
Reference in a new issue