1 use DBIx::Class::Optional::Dependencies -skip_all_without => 'cdbicompat';
8 use lib 't/cdbi/testlib';
13 Title => "Breaking the Waves",
14 Director => 'Lars von Trier',
18 my $film = Film->construct({
19 Title => "Breaking the Waves",
20 Director => 'Lars von Trier',
24 is $film->title, "Breaking the Waves";
25 is $film->director, "Lars von Trier";
26 is $film->rating, "R",
27 "constructed objects can get missing data from the db";
33 Foo->columns( TEMP => qw(temp_thing) );
34 my $film = Foo->construct({
38 ::is $film->temp_thing, 23, "construct sets temp columns";