How to test a controller action that sends a file?
If I do it with controller.should_receive(:send_file) test fails with "Missing template" because nothing gets rendered.
controller.should_receive(:send_file)