fix bug in qualify_objects that would add schema to relnames
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 23dumpmore.t
index c02c279..ea5fd6b 100644 (file)
@@ -368,6 +368,8 @@ do_dump_test(
     regexes => {
         'Result/Foo' => [
             qr/^\Q__PACKAGE__->table("foo_schema.foo");\E/m,
+            # the has_many relname should not have the schema in it!
+            qr/^__PACKAGE__->has_many\(\n  "bars"/m,
         ],
     },
 );