X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F60core.t;h=f21355c034daec8ffb85d3d6f904f9c48540c031;hb=3f1d61d063d5fd98d80099784d68d37aa1e2e00a;hp=ed7c225c7324b3169060b7189b1902e71f7e0281;hpb=81e4dc3d93646a11bee973606a31be412f23cd5f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/60core.t b/t/60core.t index ed7c225..f21355c 100644 --- a/t/60core.t +++ b/t/60core.t @@ -553,6 +553,14 @@ lives_ok (sub { my $newlink = $newbook->link}, "stringify to false value doesn't ); } +# test to make sure that calling ->new() on a resultset object gives +# us a row object +{ + my $new_artist = $schema->resultset('Artist')->new({}); + isa_ok( $new_artist, 'DBIx::Class::Row', '$rs->new gives a row object' ); +} + + # make sure we got rid of the compat shims SKIP: { my $remove_version = 0.083;