11 my $schema = DBICTest->init_schema();
13 my $track_no_lyrics = $schema->resultset ('Track')
14 ->search ({ 'lyrics.lyric_id' => undef }, { join => 'lyrics' })
17 my $lyric = $track_no_lyrics->create_related ('lyrics', {
19 { text => 'english doubled' },
20 { text => 'english doubled' },
23 is ($lyric->lyric_versions->count, 2, "Two identical has_many's created");
26 my $link = $schema->resultset ('Link')->create ({
33 is ($link->bookmarks->count, 2, "Two identical default-insert has_many's created");