[Catalyst] getting $c in model unit test
Matt S Trout
dbix-class at trout.me.uk
Thu May 17 14:17:47 GMT 2007
On Wed, May 16, 2007 at 10:11:56AM +0100, Matt Lawrence wrote:
> Ah yes. You don't normally forward to a Model. If you're testing a
> controller (or, I suppose, a view), it's best to forward, otherwise you
> get a similar error if the controller method you're calling forwards to
> another method itself.
Maybe that means there's a case for adding a context($uri) export to C::Test
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
More information about the Catalyst
mailing list