X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Model-DBIC-Schema.git;a=blobdiff_plain;f=t%2F09schema_options.t;h=2f95fc78377339b0a7ec4d9f65e84fa63423e1e6;hp=b38f0e36ec538dc7d1aeb38083c540e762bdbc14;hb=d816d7bf6502a6c67912f1736705c6b55a43a518;hpb=87145c6c724aa7bd530d7d80fd3c0830a72ec17e diff --git a/t/09schema_options.t b/t/09schema_options.t index b38f0e3..2f95fc7 100644 --- a/t/09schema_options.t +++ b/t/09schema_options.t @@ -20,9 +20,11 @@ lives_ok { $m->a_schema_option('pass the crack pipe') } 'delegate called'; is $m->schema->a_schema_option, 'pass the crack pipe', 'delegation works'; sub instance { - Catalyst::Model::DBIC::Schema->new({ + Catalyst::Model::DBIC::Schema->COMPONENT('MyApp', { schema_class => 'ASchemaClass', connect_info => ['dbi:SQLite:foo.db', '', ''], @_, }) } + +{ package MyApp; use Catalyst; }