# Static::Simple: will serve static files from the application's root
# directory
#
-use Catalyst qw/-Debug Static::Simple/;
+use Catalyst qw/-Debug ConfigLoader Static::Simple/;
our $VERSION = '0.01';
name '[% dir %]';
all_from '[% path %]';
-requires Catalyst => '5.62';
+requires Catalyst => '5.64';
catalyst;
0.01 [% time %]
- initial revision, generated by Catalyst
__apptest__
+use strict;
+use warnings;
use Test::More tests => 2;
-BEGIN { use_ok( Catalyst::Test, '[% name %]' ); }
-ok( request('/')->is_success );
+BEGIN { use_ok 'Catalyst::Test', '[% name %]' }
+
+ok( request('/')->is_success, 'Request should succeed' );
__podtest__
+use strict;
+use warnings;
use Test::More;
eval "use Test::Pod 1.14";
all_pod_files_ok();
__podcoveragetest__
+use strict;
+use warnings;
use Test::More;
eval "use Test::Pod::Coverage 1.04";
1;
__comptest__
+use strict;
+use warnings;
[% IF long_type == 'Controller' %]
use Test::More tests => 3;
-use_ok( Catalyst::Test, '[% app %]' );
+use_ok( 'Catalyst::Test', '[% app %]' );
use_ok('[% class %]');
-ok( request('[% uri %]')->is_success );
+ok( request('[% uri %]')->is_success, 'Request should succeed' );
[% ELSE %]
use Test::More tests => 1;
use_ok('[% class %]');