]> iEval git - plack-app-gruntmaster.git/blame_incremental - mech.t
fixed "Page 1 of 0" in job log
[plack-app-gruntmaster.git] / mech.t
... / ...
CommitLineData
1#!/usr/bin/perl -w
2use strict;
3use warnings;
4
5use Test::More;
6BEGIN {
7 plan skip_all => '$ENV{AUTHOR_TESTING} is false, skipping tests' unless $ENV{AUTHOR_TESTING};
8 plan tests => 5;
9}
10use Test::WWW::Mechanize::PSGI;
11
12my $mech = Test::WWW::Mechanize::PSGI->new(app => do 'app.psgi');
13$mech->get_ok('/');
14$mech->title_is('Gruntmaster 6000');
15
16$mech->get_ok('/pb/');
17$mech->title_is('Problems');
18$mech->content_contains('Spell');
This page took 0.019562 seconds and 5 git commands to generate.