9 plan skip_all => 'Test needs ' . DBIx::Class::Optional::Dependencies->req_missing_for('admin')
10 unless DBIx::Class::Optional::Dependencies->req_ok_for('admin');
13 if(use_ok 'DBIx::Class::Admin') {
14 my $admin = DBIx::Class::Admin->new(
15 include_dirs => 't/var/dbicadmincrap/lib',
18 lives_ok { $admin->_build_schema } 'should survive attempt to load module located in include_dirs';