Skip to content

Commit

Permalink
remove ratings check (html removed in e71411d)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed May 24, 2016
1 parent a51b9fc commit 6423589
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions t/controller/search.t
Expand Up @@ -44,18 +44,6 @@ test_psgi app, sub {
qq!//$xpath{search_results}//div[1]/big[1]/strong/a/\@href!);
ok( $release, "found release $release" );

# Moose has ratings (other things on this search page likely do as well)
$tx->like(
qq!//$xpath{search_results}//a[\@href="http://cpanratings.perl.org/rate/?distribution=Moose"]/span/\@class!,
qr/^rating-\d+$/i, 'ratings stars shown'
);

$tx->like(
qq!//$xpath{search_results}//a[\@href="http://cpanratings.perl.org/dist/Moose"]!,
qr/\d+ reviews?/i,
'review number listed'
);

{
my $description = $tx->find_value(
qq!//$xpath{module_result}//p[\@class="description"][1]!);
Expand Down

0 comments on commit 6423589

Please sign in to comment.