update tests for url attribute on post object
[engit/Iron-Munger.git] / t / monger.t
index 7c8c847..51044c8 100644 (file)
@@ -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');