提交 a6c06217 编写于 作者: A Arun Agrawal

Build fix for new routing inspector changes

Broken by

6701b4cf
上级 16bbb8ef
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册