root/lang/perl/Nanto/trunk/t/Web/Plugin/DoCoMoGUID.t @ 18009

Revision 18009, 358 bytes (checked in by tokuhirom, 5 years ago)

oops

Line 
1use strict;
2use warnings;
3use HTTP::Engine;
4use Nanto::Web::Handler;
5use Nanto::ClassLoader;
6use Test::More tests => 2;
7use lib 't/lib';
8use t::Utils;
9
10my $handler = handler();
11$handler->load_plugin(qw/DoCoMoGUID/);
12
13my $res = run_engine(
14    'GET', '/'
15);
16is $res->code, 200;
17is $res->content, q{<html><body><a href="/bar/?guid=ON">foo</a></body></html>};
18
Note: See TracBrowser for help on using the browser.