Commit | Line | Data |
---|---|---|
b488020e | 1 | #!/usr/bin/perl |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | use Test::More; | |
6 | ||
7 | use lib qw(t/lib); | |
8 | use DBICTest; # do not remove even though it is not used | |
9 | ||
10 | plan tests => 1; | |
11 | ||
12 | eval { | |
13 | package DBICNSTest; | |
14 | use base qw/DBIx::Class::Schema/; | |
15 | __PACKAGE__->load_namespaces( | |
16 | result_namespace => 'Bogus', | |
17 | resultset_namespace => 'RSet', | |
18 | ); | |
19 | }; | |
20 | ||
21 | like ($@, qr/are you sure this is a real Result Class/, 'Clear exception thrown'); |