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

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

Reply via email to