Guides: Corrected name for assigns key [ci skip]
- Integration test example is now using 'articles' name for both path and assigns key.
This commit is contained in:
parent
9253417909
commit
5bdaf31628
@ -728,7 +728,7 @@ class UserFlowsTest < ActionDispatch::IntegrationTest
|
||||
https!(false)
|
||||
get "/articles/all"
|
||||
assert_response :success
|
||||
assert assigns(:products)
|
||||
assert assigns(:articles)
|
||||
end
|
||||
end
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user