10 my $schema = DBICTest->init_schema();
12 my $track_no_lyrics = $schema->resultset ('Track')
13 ->search ({ 'lyrics.lyric_id' => undef }, { join => 'lyrics' })
16 my $lyric = $track_no_lyrics->create_related ('lyrics', {
18 { text => 'english doubled' },
19 { text => 'english doubled' },
22 is ($lyric->lyric_versions->count, 2, "Two identical has_many's created");
25 my $link = $schema->resultset ('Link')->create ({
32 is ($link->bookmarks->count, 2, "Two identical default-insert has_many's created");