5 eval "use DBD::SQLite";
6 plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 3);
9 my $art = $schema->class("Artist")->find(1);
11 isa_ok $art => 'DBICTest::Artist';
13 my $name = 'Caterwauler McCrae';
15 ok($art->name($name) eq $name, 'update');
18 my @changed_keys = $art->is_changed;
19 is( scalar (@changed_keys), 0, 'field changed but same value' );
22 $art->discard_changes;