ok ... went with     response.body.should == " "


On 2/08/2007, at 10:47 AM, Shane Mingins wrote:

Hi

In a controller I have method that is accessed via an AJAX call and will conditionally do:

render :nothing => true

to test the condition hitting this line I was hoping to do something like:

response.should render_template(:nothing)

How should I test this behaviour?

Cheers
Shane


r
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to