aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.textile
diff options
context:
space:
mode:
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+: