Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 288 Bytes
---
assert_template: |-
# '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"