9 use Catalyst::Model::DBIC::Schema;
14 ok((my $m = instance(a_schema_option => 'mtfnpy')), 'instance');
16 is $m->schema->a_schema_option, 'mtfnpy', 'option was passed from config';
18 lives_ok { $m->a_schema_option('pass the crack pipe') } 'delegate called';
20 is $m->schema->a_schema_option, 'pass the crack pipe', 'delegation works';
23 Catalyst::Model::DBIC::Schema->new({
24 schema_class => 'ASchemaClass',
25 connect_info => ['dbi:SQLite:foo.db', '', ''],