[Catalyst-commits] r10632 - in Catalyst-Devel/1.00/branches/helper_refactor: share/t t

dhoss at dev.catalyst.perl.org dhoss at dev.catalyst.perl.org
Tue Jun 23 21:50:11 GMT 2009


Author: dhoss
Date: 2009-06-23 21:50:11 +0000 (Tue, 23 Jun 2009)
New Revision: 10632

Modified:
   Catalyst-Devel/1.00/branches/helper_refactor/share/t/01app.t.tt
   Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t
Log:
updated generated app
fixed 01app.t.tt (had a hardcoded app name in BEGIN {...})


Modified: Catalyst-Devel/1.00/branches/helper_refactor/share/t/01app.t.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/t/01app.t.tt	2009-06-23 21:48:54 UTC (rev 10631)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/t/01app.t.tt	2009-06-23 21:50:11 UTC (rev 10632)
@@ -3,6 +3,6 @@
 use warnings;
 use Test::More tests => 2;
 
-BEGIN { use_ok 'Catalyst::Test', 'TestAppForComparison' }
+BEGIN { use_ok 'Catalyst::Test', '[% app %]' }
 
 ok( request('/')->is_success, 'Request should succeed' );

Modified: Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t	2009-06-23 21:48:54 UTC (rev 10631)
+++ Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t	2009-06-23 21:50:11 UTC (rev 10632)
@@ -2,7 +2,7 @@
 use warnings;
 
 use File::Temp qw/ tempdir /;
-
+use File::Spec;
 my $dir = tempdir(); # CLEANUP => 1 );
 
 use Test::More;
@@ -57,3 +57,8 @@
 ok $newapp_test_status, "Tests ran okay";
 #is $newapp_test_status, ;
 
+## Moosey server tests
+my $server_path   = File::Spec->catfile('script', 'testapp_server.pl');
+#my $server_status = `$^X $server_path`;
+#ok $server_status, "Moosey server starts ok";
+




More information about the Catalyst-commits mailing list