Skip to content

Commit

Permalink
fix test release/file-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Apr 26, 2016
1 parent 52d4df2 commit 0d96c27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/release/file-changes.t
Expand Up @@ -22,9 +22,9 @@ is( $release->changes_file, 'Changes', 'changes_file ok' );
{
my @files
= $idx->type('file')
->filter(
{ and => [ { term => { distribution => 'File-Changes' } } ] } )->all;
my ($changes) = grep { $_->{name} eq 'Changes' } @files;
->filter( { term => { release => 'File-Changes-1.0' } } )->all;

my ($changes) = grep { $_->name eq 'Changes' } @files;
ok $changes, 'found Changes';
}

Expand Down

0 comments on commit 0d96c27

Please sign in to comment.