Skip to content

Commit

Permalink
Use new vars in one overlooked test
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Sep 14, 2014
1 parent f9ab32e commit 5681eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/controller/search.t
Expand Up @@ -62,7 +62,7 @@ test_psgi app, sub {

$tx = tx($res);
$tx->ok(
'//div[@class="search-results"]//div[@class="module-result"]/a[@class="author"]',
qq!//$xpath{search_results}//$xpath{module_result}/a[\@class="author"]!,
sub {
my $node = shift;
$node->is( q{.}, uc($author), 'dist owned by queried author' )
Expand Down

0 comments on commit 5681eef

Please sign in to comment.