diff options
author | Jimmy Petersen <jipe@dtic.dtu.dk> | 2014-11-07 11:30:52 +0100 |
---|---|---|
committer | Jimmy Petersen <jipe@dtic.dtu.dk> | 2014-11-07 11:30:52 +0100 |
commit | 5bdaf31628fdfd4000a2cd3a430dbce8127b863e (patch) | |
tree | d67858d0ebec8690311a530a9c27dda6bf8fbdfc /guides/source/testing.md | |
parent | 92534179096b9b4838bbaee343bba1127095f5e6 (diff) | |
download | rails-5bdaf31628fdfd4000a2cd3a430dbce8127b863e.tar.gz rails-5bdaf31628fdfd4000a2cd3a430dbce8127b863e.tar.bz2 rails-5bdaf31628fdfd4000a2cd3a430dbce8127b863e.zip |
Guides: Corrected name for assigns key [ci skip]
- Integration test example is now using 'articles' name
for both path and assigns key.
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r-- | guides/source/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 8ad1eed72c..4197e31d3c 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -728,7 +728,7 @@ class UserFlowsTest < ActionDispatch::IntegrationTest https!(false) get "/articles/all" assert_response :success - assert assigns(:products) + assert assigns(:articles) end end ``` |