[Bast-commits] r5270 - DBIx-Class/0.08/branches/multicreate/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Dec 21 11:25:11 GMT 2008
Author: ribasushi
Date: 2008-12-21 11:25:10 +0000 (Sun, 21 Dec 2008)
New Revision: 5270
Modified:
DBIx-Class/0.08/branches/multicreate/t/96multi_create_new.t
Log:
forgotten text
Modified: DBIx-Class/0.08/branches/multicreate/t/96multi_create_new.t
===================================================================
--- DBIx-Class/0.08/branches/multicreate/t/96multi_create_new.t 2008-12-21 11:24:39 UTC (rev 5269)
+++ DBIx-Class/0.08/branches/multicreate/t/96multi_create_new.t 2008-12-21 11:25:10 UTC (rev 5270)
@@ -17,8 +17,9 @@
# gets inserted. Then we add some more objects to the mix either via
# new_related() or by setting an accessor directly (or both) - again
# expecting no inserts. Then after calling insert() on the starter object
-# we expect everything to get inserted _except_ the externally set
-# objects - those should be insert()able afterwards
+# we expect everything supplied to new() to get inserted, as well as any
+# relations whose PK's are necessary to complete the objects supplied
+# to new(). All other objects should be insert()able afterwards too.
my $new_artist = $schema->resultset("Artist")->new_result({ 'name' => 'Depeche Mode' });
More information about the Bast-commits
mailing list