rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / lib / ViewDepsBad / Result / Year2010CDs.pm
index 8771ad9..9285922 100644 (file)
@@ -20,7 +20,7 @@ __PACKAGE__->add_columns(
 
 __PACKAGE__->set_primary_key('id');
 
-__PACKAGE__->belongs_to( 'artist', 'ViewDepsBad::Result::Artist',
+__PACKAGE__->refers_to( 'artist', 'ViewDepsBad::Result::Artist',
     { "foreign.id" => "self.artist" },
 );