aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
diff options
context:
space:
mode:
authorJimmy Petersen <jipe@dtic.dtu.dk>2014-11-07 11:30:52 +0100
committerJimmy Petersen <jipe@dtic.dtu.dk>2014-11-07 11:30:52 +0100
commit5bdaf31628fdfd4000a2cd3a430dbce8127b863e (patch)
treed67858d0ebec8690311a530a9c27dda6bf8fbdfc /guides/source/testing.md
parent92534179096b9b4838bbaee343bba1127095f5e6 (diff)
downloadrails-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.md2
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
```