From: Peter Rabbitson Date: Sun, 21 Dec 2008 11:25:10 +0000 (+0000) Subject: forgotten text X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a6a1ec3277f63a6890576654ad6b075b83551b6e;p=dbsrgits%2FDBIx-Class-Historic.git forgotten text --- diff --git a/t/96multi_create_new.t b/t/96multi_create_new.t index 00b3c41..909419f 100644 --- a/t/96multi_create_new.t +++ b/t/96multi_create_new.t @@ -17,8 +17,9 @@ my $schema = DBICTest->init_schema(); # 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' });