projects
/
engit/Iron-Munger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
update tests for url attribute on post object
[engit/Iron-Munger.git]
/
t
/
monger.t
diff --git
a/t/monger.t
b/t/monger.t
index
7c8c847
..
51044c8
100644
(file)
--- a/
t/monger.t
+++ b/
t/monger.t
@@
-10,7
+10,9
@@
BEGIN {
}
my $monger = Monger->new(
- posts => [ map { Post->new(at => $_->days->ago) } (2, 10) ]
+ posts => [
+ map { Post->new(url => 'http://localhost', at => $_->days->ago) } (2, 10)
+ ]
);
cmp_ok($monger->days_left, '==', 8, 'Eight days to post');