Properly skip test when C::M::DBIC::Plain is not installed (thanks to siracusa for...
[dbsrgits/DBIx-Class.git] / t / 30dbicplain.t
CommitLineData
50041f3c 1#!/usr/bin/perl
2
3use strict;
4use warnings;
5use Test::More;
6
cd67f809 7use lib qw(t/lib);
8eval 'use DBICTest::Plain; 1'
50041f3c 9 or plan skip_all => 'Install Catalyst::Model::DBIC::Plain to run this test';
50041f3c 10
cd67f809 11plan tests => 1;
50041f3c 12
13cmp_ok(DBICTest::Plain->resultset('Test')->count, '>', 0, 'count is valid');