Revision history for DBIx::Class
+ - properly skip t/30dbicplain.t when Catalyst::Model::DBIC::Plain isn't
+ installed
+
0.04999_06 2006-01-28 21:20:32
- fix Storage/DBI (tried to load deprecated ::Exception component)
use warnings;
use Test::More;
-eval 'use Catalyst::Model::DBIC::Plain; 1'
+use lib qw(t/lib);
+eval 'use DBICTest::Plain; 1'
or plan skip_all => 'Install Catalyst::Model::DBIC::Plain to run this test';
-plan tests => 1;
-use lib qw(t/lib);
-use DBICTest::Plain;
+plan tests => 1;
cmp_ok(DBICTest::Plain->resultset('Test')->count, '>', 0, 'count is valid');