Introduce GOVERNANCE document and empty RESOLUTIONS file.
[dbsrgits/DBIx-Class.git] / t / resultset / is_paged.t
CommitLineData
c0329273 1BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
2
91461038 3use strict;
4use warnings;
5
c0329273 6
91461038 7use Test::More;
91461038 8use DBICTest;
9
10my $schema = DBICTest->init_schema();
11
12my $tkfks = $schema->resultset('Artist');
13
14ok !$tkfks->is_paged, 'vanilla resultset is not paginated';
15
16my $paginated = $tkfks->search(undef, { page => 5 });
17ok $paginated->is_paged, 'resultset is paginated now';
18
19done_testing;