提交 20dcc0ab 编写于 作者: A Accessd

fix small typo in routing test

上级 42130e85
......@@ -4420,7 +4420,7 @@ def app; APP end
include Routes.url_helpers
test "url helpers raise a helpful error message whem generation fails" do
test "url helpers raise a helpful error message when generation fails" do
url, missing = { action: 'show', controller: 'products', id: nil }, [:id]
message = "No route matches #{url.inspect} missing required keys: #{missing.inspect}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册