projects
/
dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Debugging why sqlt deployment order of views is wrong.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git]
/
t
/
03insert.t
diff --git
a/t/03insert.t
b/t/03insert.t
index
add074e
..
f25270c
100644
(file)
--- a/
t/03insert.t
+++ b/
t/03insert.t
@@
-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."
+);
+