multi db_schema support
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 24loader_subclass.t
index 78a5535..5d54a2f 100644 (file)
@@ -41,6 +41,6 @@ while (my ($style,$subref) = each %invocations) {
     while (my ($arg, $class) = each %loader_class) {
         my $schema = $subref->($arg);
         $schema = $schema->clone unless ref $schema;
-        isa_ok($schema->_loader, $class, "$style($arg)");
+        isa_ok($schema->loader, $class, "$style($arg)");
     }
 }