1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Build fix for new routing inspector changes

Broken by

6701b4cf41
This commit is contained in:
Arun Agrawal 2013-11-22 08:51:12 +01:00
parent 16bbb8efc4
commit a6c06217a5

View file

@ -111,7 +111,7 @@ module ApplicationTests
RUBY RUBY
output = Dir.chdir(app_path){ `rake routes` } 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 end
def test_rake_routes_with_controller_environment def test_rake_routes_with_controller_environment
@ -124,7 +124,7 @@ module ApplicationTests
ENV['CONTROLLER'] = 'cart' ENV['CONTROLLER'] = 'cart'
output = Dir.chdir(app_path){ `rake routes` } 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 end
def test_rake_routes_displays_message_when_no_routes_are_defined def test_rake_routes_displays_message_when_no_routes_are_defined