rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Tag.pm
index 40bd945..4f72e4c 100644 (file)
@@ -31,7 +31,7 @@ __PACKAGE__->add_unique_constraints(  # do not remove, part of a test
   [qw/ tagid tag cd /],
 );
 
-__PACKAGE__->belongs_to( cd => 'DBICTest::Schema::CD', 'cd', {
+__PACKAGE__->refers_to( cd => 'DBICTest::Schema::CD', 'cd', {
   proxy => [ 'year', { cd_title => 'title' } ],
 });