Move tests around, add extra has_one relationship
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Track.pm
index 4966800..70dc805 100644 (file)
@@ -46,4 +46,6 @@ __PACKAGE__->belongs_to( disc => 'DBICTest::Schema::CD' => 'cd');
 __PACKAGE__->might_have( cd_single => 'DBICTest::Schema::CD', 'single_track' );
 __PACKAGE__->might_have( lyrics => 'DBICTest::Schema::Lyrics', 'track_id' );
 
+__PACKAGE__->has_one( undying_lyric => 'DBICTest::Schema::Lyrics', 'track_id' );
+
 1;