Some test hackage
[dbsrgits/DBIx-Class.git] / t / run / 09update.tl
index f831bc1..64b89c0 100644 (file)
@@ -1,11 +1,12 @@
 sub run_tests {
+my $schema = shift;
 
 BEGIN {
         eval "use DBD::SQLite";
         plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 3);
 }                                                                               
 
-my $art = DBICTest->class("Artist")->find(1);
+my $art = $schema->class("Artist")->find(1);
 
 isa_ok $art => 'DBICTest::Artist';