--- assert_template version 1 Sat May 31 07:27:39 +0000 2008 +++ assert_template version 2 Sat May 31 07:33:29 +0000 2008 @@ -1,10 +1,12 @@ +# 'cheat assertions' for the rest + assert_template(expected = nil, message=nil) Asserts that the request was rendered with the appropriate template file. Examples # assert that the "new" view template was rendered assert_template "new"
cheat sheets.
$ cheat assert_template