Permalink
Browse files

Merge pull request #13000 from arunagw/build-fix-rake-test

Build fix for new routing inspector changes
  • Loading branch information...
2 parents 16bbb8e + a6c0621 commit 93f24cfb1dd7478e410f8e49c38bbad0ea355ae3 @senny senny committed Nov 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 93f24cf

Please sign in to comment.