canonicalize timestamps in Changes file
[catagits/Catalyst-Authentication-Store-Htpasswd.git] / t / live-test.t
CommitLineData
16585083 1#!/usr/bin/env perl
2
3use strict;
4use warnings;
5use Test::More tests => 3;
6
7# setup library path
8use FindBin qw($Bin);
9use lib "$Bin/lib";
10
11# make sure testapp works
12use ok 'TestApp';
13
14# a live test against TestApp, the test application
15use Test::WWW::Mechanize::Catalyst 'TestApp';
16my $mech = Test::WWW::Mechanize::Catalyst->new;
17$mech->get_ok('http://localhost/', 'get main page');
18$mech->content_like(qr/^Authenticated:mufasa$/i, 'see if it has our text');
19