diff options
author | Andrew Hendrie <hendrieandrew91@gmail.com> | 2015-03-13 11:28:18 -0400 |
---|---|---|
committer | Andrew Hendrie <hendrieandrew91@gmail.com> | 2015-03-13 11:28:18 -0400 |
commit | 3830854510c4553ca715182e364654e3cfa65ef1 (patch) | |
tree | 4d018dcaaff6d4459a06b863542861994765f20d /guides | |
parent | 3f0b7b41e11d7551a359d6cae9e547487baf9351 (diff) | |
download | rails-3830854510c4553ca715182e364654e3cfa65ef1.tar.gz rails-3830854510c4553ca715182e364654e3cfa65ef1.tar.bz2 rails-3830854510c4553ca715182e364654e3cfa65ef1.zip |
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.
Diffstat (limited to 'guides')
-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 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 |