Extend proxy rel attr
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Tag.pm
index 03c8142..35b7587 100644 (file)
@@ -28,6 +28,8 @@ __PACKAGE__->add_unique_constraints(  # do not remove, part of a test
   [qw/ tagid tag cd /],
 );
 
-__PACKAGE__->belongs_to( cd => 'DBICTest::Schema::CD' );
+__PACKAGE__->belongs_to( cd => 'DBICTest::Schema::CD', 'cd', {
+  proxy => [ 'year', { cd_title => 'title' } ],
+});
 
 1;