From 5bdaf31628fdfd4000a2cd3a430dbce8127b863e Mon Sep 17 00:00:00 2001 From: Jimmy Petersen Date: Fri, 7 Nov 2014 11:30:52 +0100 Subject: [PATCH] Guides: Corrected name for assigns key [ci skip] - Integration test example is now using 'articles' name for both path and assigns key. --- guides/source/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/testing.md b/guides/source/testing.md index 8ad1eed72c844..4197e31d3c8fc 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 ```