projects
/
dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix view ordering by requiring ddo declaration in result class
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git]
/
t
/
04no_sequence_defined.t
diff --git
a/t/04no_sequence_defined.t
b/t/04no_sequence_defined.t
index
04dc763
..
dedb510
100644
(file)
--- a/
t/04no_sequence_defined.t
+++ b/
t/04no_sequence_defined.t
@@
-43,3
+43,13
@@
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/
+ salad
+ mesclun
+ /
+ ],
+ "SQLT view order triumphantly matches our order."
+);