Mojolicious-Plugin-MountPSGI

 view release on metacpan or  search on metacpan

t/streaming.t  view on Meta::CPAN

#!/usr/bin/env perl
use Mojo::Base -strict;

use Test::More tests => 3;

use Mojolicious::Lite;
use Test::Mojo;

plugin 'MountPSGI', { '/' => 't/script/streaming.psgi' };


my $t = Test::Mojo->new;
$t->get_ok('/foo')->status_is(200)->content_is("hello, world\n");



( run in 0.439 second using v1.01-cache-2.11-cpan-98e64b0badf )