From 5b35664481bdc4f8c8970a8aade4b460fae1f065 Mon Sep 17 00:00:00 2001 From: Panayotis Matsinopoulos Date: Sat, 24 Mar 2012 23:16:55 +0200 Subject: Small layout correction --- guides/source/testing.textile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'guides/source/testing.textile') 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, -assert_template :layout => "application" + assert_template :layout => "application" will not work. - h4. A Fuller Functional Test Example Here's another example that uses +flash+, +assert_redirected_to+, and +assert_difference+: -- cgit v1.2.3