[Catalyst] writing a test suite for my app

Daniel McBrearty danielmcbrearty at gmail.com
Thu May 18 22:13:02 CEST 2006


hmmm. it really doesn't seem to be working. I've dumped the
requests_redirectable var out, I definitely see an empty array right before
the request is sent. Yet, when the redirect comes in, $mech follows it.

bug?

On 5/18/06, Perrin Harkins <perrin at elem.com> wrote:
>
> On Thu, 2006-05-18 at 21:30 +0200, Daniel McBrearty wrote:
> > how do I stop the test object from following redirects?
>
> I wrote about that here:
> http://use.perl.org/~perrin/journal/29455
>
> > my $mech = Test::WWW::Mechanize::Catalyst->new;
> > $mech->requests_redirectable( [] );
>
> That should work.  Maybe the catalyst subclass is preventing it in some
> way.  I've only tried it with Test::WWWW::Mechanize.
>
> - Perrin
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>



-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060518/e12a7d02/attachment.htm 


More information about the Catalyst mailing list