uc types in function signatures
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / 02view_def.t
CommitLineData
487f4489 1use strict;
2use warnings;
3use lib 't/lib';
4use Test::More qw(no_plan);
5use Test::Exception;
6use Data::Dumper; $Data::Dumper::Indent = 1;
7
8BEGIN { use_ok 'MTITest'; }
9
10dies_ok { MTITest->source('Foo')->view_definition }
11 "Can't generate view def without connected schema";
12
13my $schema = MTITest->connect('dbi:SQLite::memory:');
14
15warn $schema->source($_)->view_definition for qw(Foo Bar);