Skip to content

Commit

Permalink
Build fix for new routing inspector changes
Browse files Browse the repository at this point in the history
Broken by

6701b4c
  • Loading branch information
arunagw committed Nov 22, 2013
1 parent 16bbb8e commit a6c0621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/application/rake_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a6c0621

Please sign in to comment.