Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix tests: ::Dists model ->remove_old now returns num of dists dumped…
… instead of invocant
  • Loading branch information
zoffixznet committed Nov 25, 2015
1 parent 5f9443f commit b617f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/01-models/02-dists.t
Expand Up @@ -69,7 +69,7 @@ isa_ok $m->remove({ name => 'Dist1'}), MODEL, '->remove returns invocant';
is_deeply $m->find, [$dist2], 'removed a dist';
is_deeply $m->find({ name => 'Dist1'}), [], 'and it is no longer found';

isa_ok $m->remove_old('rvOZAHmQ5RGKE79B+wjaYA=='), MODEL,
is $m->remove_old('rvOZAHmQ5RGKE79B+wjaYA=='), 1,
'->remove_old returns invocant';
is_deeply $m->find, [],
'remove_old tossed dists that did not have correct build ID';
Expand Down

0 comments on commit b617f22

Please sign in to comment.