8 my $schema = DBICTest->init_schema();
10 my $cd = $schema->resultset("CD")->find(2);
13 ok scalar(keys %{$cd->{_relationship_data}}), "_relationship_data populated";
16 ok $cd->liner_notes, 'relationships still valid after discarding changes';
18 ok $cd->liner_notes->delete;
20 ok !$cd->liner_notes, 'discard_changes resets relationship';