Skip to content

Commit

Permalink
fix release controller test
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Sep 30, 2014
1 parent 40a7ffa commit 8a18a8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/controller/release.t
Expand Up @@ -139,7 +139,7 @@ sub test_heading_order {
my $xpath_prefix
= '//div[@class="content"]/div[contains(@class, "file-group")]';
$tx->ok(
"$xpath_prefix/strong",
"$xpath_prefix/h2",
sub {
$_->is( q{.}, $headings[$heading],
"heading $headings[$heading] in expected location" );
Expand All @@ -150,9 +150,9 @@ sub test_heading_order {

my $anchor = 0;
$tx->ok(
"$xpath_prefix/a[following-sibling::strong[1]]",
"$xpath_prefix/h2",
sub {
$_->is( './@name', $anchors[$anchor],
$_->is( './@id', $anchors[$anchor],
"Anchor $anchors[$anchor] in expected location" );
$anchor++;
},
Expand Down

0 comments on commit 8a18a8c

Please sign in to comment.