Debugging why sqlt deployment order of views is wrong.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / 03insert.t
index add074e..f25270c 100644 (file)
@@ -43,3 +43,15 @@ lives_ok {
 }
 "I can do it for the other view, too";
 
+my $sqlt_object = $schema->{sqlt};
+
+is_deeply(
+    [ map { $_->name } $sqlt_object->get_views ],
+    [   qw/
+            coffee 
+            sumatra
+            /
+    ],
+    "SQLT view order triumphantly matches our order."
+);
+