ETOOMANYARGS - change _resolve_collapse to take a couple hashes
[dbsrgits/DBIx-Class.git] / t / resultset / is_paged.t
1 use strict;
2 use warnings;
3
4 use lib qw(t/lib);
5 use Test::More;
6 use DBICTest;
7
8 my $schema = DBICTest->init_schema();
9
10 my $tkfks = $schema->resultset('Artist');
11
12 ok !$tkfks->is_paged, 'vanilla resultset is not paginated';
13
14 my $paginated = $tkfks->search(undef, { page => 5 });
15 ok $paginated->is_paged, 'resultset is paginated now';
16
17 done_testing;