writing tests for rescue_action_in_public

I'm having trouble with rescue_action_in_public, both in getting it to work right in my rails app, and in writing tests to make sure. What I ultimately want to do is test for what a normal user would see when an error is trapped.

I override local_request? like so: