[Catalyst] How to handle role checking using a MockObject for
robrwo at gmail.com
Mon Aug 6 14:56:41 GMT 2012
My application has a lot of tests scripts (and even some utility scripts)
that create a Test::MockObject that imitates a Catalyst context.
But it's largely a kluge, especially for handling authentication with things
So, what are the best practices for generating a fake Catalyst context that
is, for all intents, logged-in as a particular user?
More information about the Catalyst