Switch cursor accessor to CAG's component_class type for autoloading
[dbsrgits/DBIx-Class.git] / t / storage / cursor.t
1 use strict;
2 use warnings;
3
4 use Test::More;
5 use Test::Exception;
6
7 use lib qw(t/lib);
8 use DBICTest;
9
10 my $schema = DBICTest->init_schema(cursor_class => 'DBICTest::Cursor');
11
12 lives_ok {
13   is($schema->resultset("Artist")->search(), 3, "Three artists returned");
14 } 'Custom cursor autoloaded';
15
16 done_testing;