Stop shipping world writeable files in our tarball
[dbsrgits/DBIx-Class.git] / t / cdbi / early_column_heisenbug.t
CommitLineData
96eab6f8 1use strict;
2
3use Test::More;
4
d9bd5195 5use lib 't/cdbi/testlib';
6use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs
96eab6f8 7
8{
9 package Thing;
10 use base qw(DBIx::Class::CDBICompat);
11}
12
13{
14 package Stuff;
15 use base qw(DBIx::Class::CDBICompat);
16}
17
18# There was a bug where looking at a column group before any were
19# set would cause them to be shared across classes.
20is_deeply [Stuff->columns("Essential")], [];
21Thing->columns(Essential => qw(foo bar baz));
22is_deeply [Stuff->columns("Essential")], [];
23
89bddb49 24done_testing;