projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6c2b68e
)
added test for total_entries on a paged resultset
Alexander Hartmaier [Tue, 19 May 2009 17:07:08 +0000 (17:07 +0000)]
t/67pager.t
patch
|
blob
|
blame
|
history
diff --git
a/t/67pager.t
b/t/67pager.t
index
b7bb73f
..
17b05c3
100644
(file)
--- 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;