Displaying 1 result from an estimated 1 matches for "expected_act".
Did you mean:
expected_at
2006 Nov 21
1
Documentation Nit
...to the
following documentation nit:
-------- what it says --------
You can specify :template, :text, or :action.
controller.should_render :template=>"path/to/template/for/action"
controller.should_render :text=>"expected text"
controller.should_render :action=>"expected_action"
-------- what it means --------
You can specify :template, :text, or :action, depending on how the
rendering was supposed to happen in your code. So, for example, if
you planned to render something as text, you would use:
controller.should_render :text => "it''s a bi...