On 20 Mar 2007, at 23:39, Bogdan Lucaciu wrote:

I'm sure this works with Test::WWW::Mechanize::Catalyst as well

Thanks guys. That led me along the right path.

I was able to replace:

  use_ok 'Catalyst::Test', 'MyApp';

with:

  use_ok 'Test::WWW::Mechanize::Catalyst', 'MyApp';

And then set the User-Agent header like so:

  $mech->agent( 'Test Agent/0.1' )


Thanks all.

Adeola.

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to