Institute a central "load this first in testing" package
[dbsrgits/DBIx-Class.git] / t / resultset_class.t
index 607c1f2..43054a5 100644 (file)
@@ -1,11 +1,10 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 use Test::More;
 use Class::Inspector ();
 
-unshift(@INC, './t/lib');
-use lib 't/lib';
-
 use DBICTest;
 
 is(DBICTest::Schema->source('Artist')->resultset_class, 'DBICTest::BaseResultSet', 'default resultset class');