mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix small typo in routing test
This commit is contained in:
parent
42130e8572
commit
20dcc0ab0a
1 changed files with 1 additions and 1 deletions
|
@ -4420,7 +4420,7 @@ class TestUrlGenerationErrors < ActionDispatch::IntegrationTest
|
|||
|
||||
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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue