Fixed inflate to be a single hashref, I'm a moron :)
Andy Grundman [Tue, 2 Aug 2005 02:06:26 +0000 (02:06 +0000)]
t/lib/DBICTest.pm

index ecd4921..ad9c127 100755 (executable)
@@ -159,8 +159,8 @@ DBICTest::CD->add_relationship(
 );
 #DBICTest::CD->might_have(liner_notes => 'DBICTest::LinerNotes' => qw/notes/);
 DBICTest::CD->inflate_column( 'year',
-    { inflate => sub { DateTime->new( year => shift ) } },
-    { deflate => sub { shift->year } }
+    { inflate => sub { DateTime->new( year => shift ) },
+      deflate => sub { shift->year } }
 );
 
 package DBICTest::Artist;