Shovelling PK::Auto stuff where it belongs..
[dbsrgits/DBIx-Class.git] / t / run / 09update.tl
index 64b89c0..ff802f0 100644 (file)
@@ -6,7 +6,7 @@ BEGIN {
         plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 3);
 }                                                                               
 
-my $art = $schema->class("Artist")->find(1);
+my $art = $schema->resultset("Artist")->find(1);
 
 isa_ok $art => 'DBICTest::Artist';