X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F09schema_options.t;h=2f95fc78377339b0a7ec4d9f65e84fa63423e1e6;hb=d816d7bf6502a6c67912f1736705c6b55a43a518;hp=b38f0e36ec538dc7d1aeb38083c540e762bdbc14;hpb=b9cc2f76b321808aa461f7c7c4f20418acc2695b;p=catagits%2FCatalyst-Model-DBIC-Schema.git 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; }