Add example test suite
[plack-app-gruntmaster.git] / t / mech.t
CommitLineData
b7bd0bad
MG
1#!/usr/bin/perl -w
2use strict;
3use warnings;
4
5use Test::More tests => 5;
6use Test::WWW::Mechanize::PSGI;
7
8my $mech = Test::WWW::Mechanize::PSGI->new(app => do 'app.psgi');
9$mech->get_ok('/');
10$mech->title_is('Gruntmaster 6000');
11
12$mech->get_ok('/pb/');
13$mech->title_is('Problems');
14$mech->content_contains('Spell');
This page took 0.010038 seconds and 4 git commands to generate.