Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (23 sloc) 645 Bytes
BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
use strict;
use warnings;
use Test::More;
use Data::Dumper;
$Data::Dumper::Sortkeys = 1;
use_ok('DBICTest');
my $schema = DBICTest->init_schema();
my $rs = $schema->resultset('CD')->search({
'artist.name' => 'We Are Goth',
'liner_notes.notes' => 'Kill Yourself!',
}, {
join => [ qw/artist liner_notes/ ],
});
Dumper($rs);
$rs = $schema->resultset('CD')->search({
'artist.name' => 'We Are Goth',
'liner_notes.notes' => 'Kill Yourself!',
}, {
join => [ qw/artist liner_notes/ ],
});
cmp_ok( $rs->count(), '==', 1, "Single record in after death with dumper");
done_testing;