[rspec-devel] [ rspec-Documentation-6897 ] better explanation about should_render

noreply at rubyforge.org noreply at rubyforge.org
Sun Feb 4 01:43:24 EST 2007


Documentation item #6897, was opened at 2006-11-26 23:47
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=9738&aid=6897&group_id=797

Category: None
Group: None
>Status: Closed
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
Assigned to: David Chelimsky (dchelimsky)
Summary: better explanation about should_render

Initial Comment:
When should you use which form of controller.should_render?

----------------------------------------------------------------------

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-02-04 06:43

Message:
controller.should_render is deprecated. After 0.8.0 you should use

response.should render_template
response.should have_text

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=9738&aid=6897&group_id=797


More information about the rspec-devel mailing list