Change what we stream to make test sync for engines easier
Tomas Doran [Sat, 27 Dec 2008 10:47:41 +0000 (10:47 +0000)]
Changes
t/aggregate/live_component_controller_action_streaming.t
t/lib/TestApp/Controller/Action/Streaming.pm

diff --git a/Changes b/Changes
index b3bd6fc..78f01dc 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 # This file documents the revision history for Perl extension Catalyst.
 
+        - Change streaming test to serve itself rather than 01use.t, making test
+          sync for engines easier (t0m)
         - Refactor capturing of $app from Catalyst::Controller into
           Catalyst::Component::Role::CaptureApp for easier reuse in other
           components (Florian Ragwitz)
index 6cf1866..156956b 100644 (file)
@@ -54,7 +54,7 @@ EOF
             skip "Using remote server", 5;
         }
 
-        my $file = "$FindBin::Bin/../01use.t";
+        my $file = "$FindBin::Bin/../lib/TestApp/Controller/Action/Streaming.pm";
         my $fh = IO::File->new( $file, 'r' );
         my $buffer;
         if ( defined $fh ) {
index f619a7d..5a757b0 100644 (file)
@@ -17,7 +17,7 @@ EOF
 sub body : Local {
     my ( $self, $c ) = @_;
     
-    my $file = "$FindBin::Bin/../01use.t";
+    my $file = "$FindBin::Bin/../lib/TestApp/Controller/Action/Streaming.pm";
     my $fh = IO::File->new( $file, 'r' );
     if ( defined $fh ) {
         $c->res->body( $fh );