From: Arthur Axel "fREW" Schmidt Date: Wed, 14 Apr 2010 18:10:57 +0000 (+0000) Subject: MultiCreate test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8cfbd51cfb6b7ea5f345db79e49a1957a5524a32;p=dbsrgits%2FDBIx-Class-Historic.git MultiCreate test --- diff --git a/t/row/filter_column.t b/t/row/filter_column.t index d036f4f..49b630d 100644 --- a/t/row/filter_column.t +++ b/t/row/filter_column.t @@ -49,4 +49,13 @@ $artist->discard_changes; $artist->rank(40); ok( !$artist->is_column_changed('rank'), 'column is not dirty after setting the same value' ); +MC: { + my $cd = $schema->resultset('CD')->create({ + artist => { rank => 20 }, + title => 'fun time city!', + year => 'forevertime', + }); + is $cd->artist->rank, 20, 'artist rank gets correctly unfiltered then filtered on MC'; +} + done_testing;