rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / 101populate_rs.t
index 46368f3..d6304c7 100644 (file)
@@ -2,7 +2,7 @@
 ## Tests for the $resultset->populate method.
 ##
 ## GOALS:  We need to test the method for both void and array context for all
-## the following relationship types: belongs_to, has_many.  Additionally we
+## the following relationship types: refers_to, has_many.  Additionally we
 ## need to test each of those for both specified PK's and autogenerated PK's
 ##
 ## Also need to test some stuff that should generate errors.
@@ -272,7 +272,7 @@ ARRAY_CONTEXT: {
 
   BELONGS_TO_NO_PKs: {
 
-    ## Test from a belongs_to perspective, should create artist first,
+    ## Test from a refers_to perspective, should create artist first,
     ## then CD with artistid.  This test we let the system automatically
     ## create the PK's.  Chances are good you'll use it this way mostly.
 
@@ -304,7 +304,7 @@ ARRAY_CONTEXT: {
 
   BELONGS_TO_WITH_PKs: {
 
-    ## Test from a belongs_to perspective, should create artist first,
+    ## Test from a refers_to perspective, should create artist first,
     ## then CD with artistid.  This time we try setting the PK's
 
     my $aid  = $art_rs->get_column('artistid')->max || 0;
@@ -455,7 +455,7 @@ VOID_CONTEXT: {
 
   BELONGS_TO_WITH_PKs: {
 
-    ## Test from a belongs_to perspective, should create artist first,
+    ## Test from a refers_to perspective, should create artist first,
     ## then CD with artistid.  This time we try setting the PK's
 
     my $aid  = $art_rs->get_column('artistid')->max || 0;
@@ -492,7 +492,7 @@ VOID_CONTEXT: {
 
   BELONGS_TO_NO_PKs: {
 
-    ## Test from a belongs_to perspective, should create artist first,
+    ## Test from a refers_to perspective, should create artist first,
     ## then CD with artistid.
 
     my $cds = [