Switched to Module::Install
[catagits/Catalyst-Runtime.git] / t / live / lib / TestApp / Controller / Action / Streaming.pm
diff --git a/t/live/lib/TestApp/Controller/Action/Streaming.pm b/t/live/lib/TestApp/Controller/Action/Streaming.pm
deleted file mode 100644 (file)
index 775eaba..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package TestApp::Controller::Action::Streaming;
-
-use strict;
-use base 'TestApp::Controller::Action';
-
-sub streaming : Global {
-    my ( $self, $c ) = @_;
-    for my $line ( split "\n", <<'EOF' ) {
-foo
-bar
-baz
-EOF
-        $c->res->write("$line\n");
-    }
-}
-
-sub body : Local {
-    my ( $self, $c ) = @_;
-    
-    my $file = "$FindBin::Bin/../../../../01use.t";
-    my $fh = IO::File->new( $file, 'r' );
-    if ( defined $fh ) {
-        $c->res->body( $fh );
-    }
-    else {
-        $c->res->body( "Unable to read $file" );
-    }
-}
-
-1;