From: Thomas Klausner Date: Mon, 31 May 2010 19:16:21 +0000 (+0200) Subject: very simply test for use_moose (only proves that nothing breaks) X-Git-Tag: 0.07001~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-Schema-Loader.git;a=commitdiff_plain;h=4f3ff924f36e5f893c3e75d9703a4f619eb31a41 very simply test for use_moose (only proves that nothing breaks) --- diff --git a/t/20invocations.t b/t/20invocations.t index b02402f..fe52379 100644 --- a/t/20invocations.t +++ b/t/20invocations.t @@ -124,6 +124,15 @@ my @invocations = ( ); DBICTest::Schema::14->clone; }, + 'moose' => sub { + package DBICTest::Schema::8; + use base qw/ DBIx::Class::Schema::Loader /; + __PACKAGE__->naming('current'); + __PACKAGE__->connect( + $make_dbictest_db::dsn, + { loader_options => { use_moose => 1 } } + ); + }, ); # 4 tests per k/v pair