aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.textile
diff options
context:
space:
mode:
authorPanayotis Matsinopoulos <panayotis@matsinopoulos.gr>2012-03-24 23:16:55 +0200
committerPanayotis Matsinopoulos <panayotis@matsinopoulos.gr>2012-03-24 23:16:55 +0200
commit5b35664481bdc4f8c8970a8aade4b460fae1f065 (patch)
treed011633db34a95ee0c35e116ea5405c2a452a62a /guides/source/testing.textile
parent214b0ddee74b6b7af0f3f4cd4e36669895c17bd9 (diff)
downloadrails-5b35664481bdc4f8c8970a8aade4b460fae1f065.tar.gz
rails-5b35664481bdc4f8c8970a8aade4b460fae1f065.tar.bz2
rails-5b35664481bdc4f8c8970a8aade4b460fae1f065.zip
Small layout correction
Diffstat (limited to 'guides/source/testing.textile')
-rw-r--r--guides/source/testing.textile3
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/testing.textile b/guides/source/testing.textile
index 01b406172f..d98082ea88 100644
--- a/guides/source/testing.textile
+++ b/guides/source/testing.textile
@@ -543,12 +543,11 @@ things clearer. On the other hand, you have to include the "layouts" directory n
file in this standard layout directory. Hence,
<ruby>
-assert_template :layout => "application"
+ assert_template :layout => "application"
</ruby>
will not work.
-
h4. A Fuller Functional Test Example
Here's another example that uses +flash+, +assert_redirected_to+, and +assert_difference+: