[Catalyst] writing a test suite for my app

Perrin Harkins perrin at elem.com
Thu May 18 21:59:42 CEST 2006


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




More information about the Catalyst mailing list