From 3830854510c4553ca715182e364654e3cfa65ef1 Mon Sep 17 00:00:00 2001 From: Andrew Hendrie Date: Fri, 13 Mar 2015 11:28:18 -0400 Subject: Asserting partials modification Changed "create Articles view" to "new article view". The create action doesn't typically have a view assigned to it. The view that's being referred to is the 'new' Article view. --- guides/source/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') diff --git a/guides/source/testing.md b/guides/source/testing.md index b508969f30..ab4ebeca2c 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -632,7 +632,7 @@ WARNING: You must include the "layouts" directory name even if you save your lay If your view renders any partial, when asserting for the layout, you can to assert for the partial at the same time. Otherwise, assertion will fail. -Remember, we added the "_form" partial to our creating Articles view? Let's write an assertion for that in the `:new` action now: +Remember, we added the "_form" partial to our new Article view? Let's write an assertion for that in the `:new` action now: ```ruby test "new should render correct layout" do -- cgit v1.2.3