3 use lib 't/cdbi/testlib';
6 eval "use DBIx::Class::CDBICompat;";
7 plan $@ ? (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@")
14 use base 'DBIC::Test::SQLite';
16 Thing->columns(TEMP => qw[foo bar baz]);
17 Thing->columns(All => qw[some real stuff]);
20 my $thing = Thing->construct({ foo => 23, some => 42, baz => 99 });
21 $thing->set( foo => "wibble", some => "woosh" );
22 is $thing->foo, "wibble";
23 is $thing->some, "woosh";
26 $thing->discard_changes;