Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 1430cdf802
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (24 sloc) 0.627 kB
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 2;
use Test::WWW::Mechanize::Catalyst 'CPANHQ';
{
my $mech = Test::WWW::Mechanize::Catalyst->new;
# TEST
$mech->get_ok("http://localhost/recent");
# TEST
$mech->follow_link_ok(
{
text_regex => qr{[\w\-]+ \d},
},
"Following a link to the release works."
);
}
=head1 AUTHOR
Shlomi Fish L<http://www.shlomifish.org/> .
=head1 LICENSE
This module is free software, available under the MIT X11 Licence:
L<http://www.opensource.org/licenses/mit-license.php>
Copyright by Shlomi Fish, 2009.
=cut
Jump to Line
Something went wrong with that request. Please try again.