4 [% IF long_type == 'Controller' %][% IF mech %]
6 unless (eval q{use Test::WWW::Mechanize::Catalyst 0.55; 1}) {
7 plan skip_all => 'Test::WWW::Mechanize::Catalyst >= 0.55 required';
11 ok( my $mech = Test::WWW::Mechanize::Catalyst->new(catalyst_app => '[% app %]', 'Created mech object' );
13 $mech->get_ok( 'http://localhost[% uri %]' );
16 use Catalyst::Test '[% app %]';
19 ok( request('[% uri %]')->is_success, 'Request should succeed' );
23 BEGIN { use_ok '[% class %]' }