Release 0.02
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / 05_namespace.t
CommitLineData
63420f8c 1use strict;
2use warnings;
3use lib 't/lib';
4use LoadTest;
0906c32b 5use Test::More tests => 10;
63420f8c 6use Devel::Dwarn;
7
8my $mti = LoadTest->source('Foo');
9
10isa_ok( $mti, "DBIx::Class::ResultSource::MultipleTableInheritance" );
11
12can_ok( $mti,
13 qw/new add_additional_parents add_additional_parent _source_by_name schema attach_additional_sources set_primary_key set_sequence raw_source_name raw_table_name add_columns add_relationship/
14);
15
16ok( !$mti->can($_), "My helper method $_ was removed" )
17 for
18 qw/argify qualify_with body_cols pk_cols names_of function_body arg_hash rule_body/;
19