Add failing test for feature I want.
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 60schema_base_dispatched.t
CommitLineData
9ba5ae4c 1# test that the class in schema_base_class gets used when loading the schema
2# by Ben Tilly ( btilly -at| gmail.com )
3
4use strict;
5use Test::More tests => 1;
6use DBIx::Class::Schema::Loader qw(make_schema_at);
7use lib 't/lib';
8use make_dbictest_db;
9
10make_schema_at(
11 'DBICTest::Schema::_test_schema_base',
12 {
13 really_erase_my_files => 1,
14 naming => 'current',
15 use_namespaces => 0,
16 schema_base_class => 'TestSchemaBaseClass',
17 },
18 [ $make_dbictest_db::dsn ],
19);
20
21ok($TestSchemaBaseClass::test_ok, "Connected using schema_base_class.");