my $t = $self->{t};
$self->render_sharedir_file( 't/01app.t.tt', "$t\/01app.t" );
$self->render_sharedir_file( 't/02pod.t.tt', "$t\/02pod.t" );
- $self->render_sharedir_file( 't/03podcoverage.tt', "$t\/03podcoverage.t" );
+ $self->render_sharedir_file( 't/03podcoverage.t.tt', "$t\/03podcoverage.t" );
}
sub _mk_cgi {
use warnings;
use Test::More tests => 2;
-BEGIN { use_ok 'Catalyst::Test', '[% name %]' }
-my $req = request('/');
-ok( $req->is_success, "Request succeeds");
+BEGIN { use_ok 'Catalyst::Test', 'TestAppForComparison' }
+
+ok( request('/')->is_success, 'Request should succeed' );
# Ok, this is lame.. Also, check +x permissions?
my @files = qw|
Makefile.PL
- lib/TestApp.pm
+ testapp.conf
+lib/TestApp.pm
+lib/TestApp/Controller/Root.pm
+README
+Changes
+t/01app.t
+t/02pod.t
+t/03podcoverage.t
+root/static/images/catalyst_logo.png
+root/static/images/btn_120x50_built.png
+root/static/images/btn_120x50_built_shadow.png
+root/static/images/btn_120x50_powered.png
+root/static/images/btn_120x50_powered_shadow.png
+root/static/images/btn_88x31_built.png
+root/static/images/btn_88x31_built_shadow.png
+root/static/images/btn_88x31_powered.png
+root/static/images/btn_88x31_powered_shadow.png
+root/favicon.ico
+Makefile.PL
+script/testapp_cgi.pl
+script/testapp_fastcgi.pl
+script/testapp_server.pl
+script/testapp_test.pl
+script/testapp_create.pl
|;
plan 'tests' => scalar @files;