Permalink
Browse files

first tests of live search.cpan.org site

  • Loading branch information...
szabgab committed Oct 20, 2014
1 parent a87232f commit 9f6dba883c3263ae744d546a9b8485595386719e
Showing with 15 additions and 2 deletions.
  1. +15 −2 t/10-sco.t
View
@@ -4,7 +4,20 @@ use warnings;
use Test::More;
use Test::WWW::Mechanize;
plan tests => 1;
plan tests => 2;
my $w = Test::WWW::Mechanize->new;
my $url = 'http://search.cpan.org/';
subtest home => sub {
$w->get_ok($url);
$w->title_is('The CPAN Search Site - search.cpan.org');
};
subtest authors => sub {
$w->follow_link_ok( {text => 'Authors'}, 'Authors link' );
};
pass;

0 comments on commit 9f6dba8

Please sign in to comment.