Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 243 Bytes
package MyApp;
use Test::More tests => 2;
use Schenker;
use HTTP::Request::Common;
enable 'static';
my $res = Schenker::run(GET 'http://localhost/test.txt');
like($res->content, qr/this is test\.txt/);
is($res->content_type, 'text/plain');