failing test for inflate not being triggerred with copy()
Yuval Kogman [Thu, 3 Jan 2008 13:18:36 +0000 (13:18 +0000)]
t/68inflate.t

index ea917f8..23b81af 100644 (file)
@@ -99,6 +99,10 @@ $cd->update({ year => \'year + 1'});
 $cd->discard_changes;
 
 is($cd->year->year, $before_year + 1, 'discard_changes clears the inflated value');
+
+my $copy = $cd->copy({ year => $now, title => "zemoose" });
+
+isnt( $copy->year->year, $before_year, "copy" );
  
 # eval { $cd->store_inflated_column('year', \'year + 1') };
 # print STDERR "ERROR: $@" if($@);