use strict; use warnings; use Test::More import => ['!pass']; use Test::Exception; use FindBin; BEGIN { eval { require DBD::SQLite }; if ($@) { plan skip_all => 'DBD::SQLite is required to run these tests'; } else { plan tests => 3; } use_ok 'ORMesque'; } my $db = ORMesque->new('dbi:SQLite:' . "$FindBin::Bin/001_database.db"); my $cd = $db->cd->read; ok $DBIx::Simple::VERSION eq '1.32_MOD', 'ORMesque has the modified DBIx::Simple class'; ok "SQL::Abstract::Limit" eq ref($cd->{dbh}->{abstract}), "SQL::Abstract::Limit module installed";