# '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( add new | see all )
- updated sheets

- mysql_select
- cheat
- cryptsetup
- burm
- perl
- port
- yuilang
- queriac
- mechanize
- sness
- nonsense
- haml
- git
- assert_valid
- marsmission
Advertisement