X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F60core.t;h=f21355c034daec8ffb85d3d6f904f9c48540c031;hb=7e1ca6dd06c5e53e7afa3433da0f59e41ce791e8;hp=ed7c225c7324b3169060b7189b1902e71f7e0281;hpb=7f08eb0138f156476d67a0dea658cccc2623237e;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;