very simply test for use_moose (only proves that nothing breaks)
Thomas Klausner [Mon, 31 May 2010 19:16:21 +0000 (21:16 +0200)]
t/20invocations.t

index b02402f..fe52379 100644 (file)
@@ -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