Skip to content
Browse files

Build fix for new routing inspector changes

Broken by

6701b4c
  • Loading branch information...
1 parent 16bbb8e commit a6c06217a55a75c33056cf7113cc189cb2134686 @arunagw arunagw committed Nov 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/rake_test.rb
View
4 railties/test/application/rake_test.rb
@@ -111,7 +111,7 @@ def test_rake_routes_calls_the_route_inspector
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 @@ def test_rake_routes_with_controller_environment
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

0 comments on commit a6c0621

Please sign in to comment.
Something went wrong with that request. Please try again.