X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F60core.t;fp=t%2F60core.t;h=d848a9154747763c675e6be587813bac0294b3ff;hb=7392e32b3c9d044ebe4caf301bc72bc4ba6dc413;hp=1f7e5f984a9a5c4f83a960c59d2212fc75343ff9;hpb=f8135512c346d8cb6f3dc569f4bb11576e85f97b;p=dbsrgits%2FDBIx-Class.git diff --git a/t/60core.t b/t/60core.t index 1f7e5f9..d848a91 100644 --- a/t/60core.t +++ b/t/60core.t @@ -576,6 +576,9 @@ lives_ok (sub { my $newlink = $newbook->link}, "stringify to false value doesn't { my $new_artist = $schema->resultset('Artist')->new({}); isa_ok( $new_artist, 'DBIx::Class::Row', '$rs->new gives a row object' ); + lives_ok { $new_artist->insert() } 'inserting without specifying any columns works'; + $new_artist->discard_changes; + $new_artist->delete; } # make sure we got rid of the compat shims