Forgot to set up the relationship between Actor and Film. Turns it out
Michael G Schwern [Wed, 13 Feb 2008 08:14:34 +0000 (00:14 -0800)]
was working because create() was holding onto the given values but once
we changed it to throw them out it (properly) broke.

t/cdbi-t/columns_as_hashes.t

index 3eca270..f85f50f 100644 (file)
@@ -78,7 +78,8 @@ warning_is {
     };
     
     require Actor;
-    
+    Actor->has_a( film => "Film" );
+
     my $actor = Actor->insert({
         name    => 'Emily Watson',
         film    => $waves,