5 eval "use DBD::SQLite";
6 plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 5);
14 my $it = DBICTest::CD->search( {},
18 is( $it->count, 3, "count ok" );
19 is( $it->next->title, "Caterwaulin' Blues", "iterator->next ok" );
22 is( $it->next, undef, "next past end of resultset ok" );
25 my @cds = DBICTest::CD->search( {},
30 is( $cds[0]->title, "Spoonful of bees", "offset ok" );