Skip to content

Commit

Permalink
Fixes Changes test for Perl release.
Browse files Browse the repository at this point in the history
This used to fail on a fresh install if Perl has not been manually
re-indexed.  We now check for a non-latest release in order to get
consistent results.
  • Loading branch information
oalders committed May 27, 2016
1 parent f7d577f commit d906aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/controller/changes.t
Expand Up @@ -19,13 +19,13 @@ test_psgi app, sub {
}

{
my $url = '/changes/distribution/perl';
my $url = '/changes/release/SHAY/perl-5.22.2';
my $res = $cb->( GET $url );
is( $res->code, 200, "200 on $url" );
my $tx = tx($res);
$tx->like(
'//title',
qr/^perldelta - /,
qr{^pod/perldelta.pod - },
'got perldelta for perl release'
);
}
Expand Down

0 comments on commit d906aec

Please sign in to comment.