Testing actions which render nothing

Hi all,

I'm trying to write a functional test for an action which does not render a template (calls render :nothing => true). When I run the test it raises a "Missing Template" error. I'm a bit confused by this as I don't think it should be trying to render any template, and the action works without errors when manually tested. Any ideas how to fix this?

Many thanks

It's always worked fine for me. In my tests I also put a test that template == nil.

If you're getting a Missing Template error, you sure you're looking at the right action?

Jason

Yep. If only it were that easy! :slight_smile: I'm probably doing something silly, I'll keep trying...