Subject: | Doesn't play nicely with ::Result namespace 'hack' |
ASH modified some DBIC loading to work better with classes under a
MySchema::Result::/MySchema::ResultSet:: layout.
This breaks the ISA test, but can be easily resolved with a tweak:
# run tests on real records
if (defined $self->{glue}) {
isa_ok(
$record,
$self->{namespace}
. '::' . $self->{glue}
. '::' . $self->{moniker}
);
}
else {
isa_ok($record, $self->{namespace} . '::' . $self->{moniker});
}