From: Alexander Hartmaier Date: Tue, 19 May 2009 17:07:08 +0000 (+0000) Subject: added test for total_entries on a paged resultset X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d759a1ee6f8a74f6439ad1f4fb52c2fe571c48b1;p=dbsrgits%2FDBIx-Class-Historic.git added test for total_entries on a paged resultset --- diff --git a/t/67pager.t b/t/67pager.t index b7bb73f..17b05c3 100644 --- a/t/67pager.t +++ b/t/67pager.t @@ -21,6 +21,8 @@ is( $it->pager->next_page, 2, "next_page ok" ); is( $it->count, 3, "count on paged rs ok" ); +is( $it->pager->total_entries, 5, "total_entries ok" ); + is( $it->next->title, "Caterwaulin' Blues", "iterator->next ok" ); $it->next;