X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Finflate%2Fcore.t;h=979295128b2a9508959e94d2007ecf56eb0273ad;hb=592ff7c47c6aa82b37925b5b7a6fc25d1e7f0f36;hp=8cc36cc8554c5557be563a910e55fc2c886f3095;hpb=f92b166e47ce82261df0109651ea71c1909122b9;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/inflate/core.t b/t/inflate/core.t index 8cc36cc..9792951 100644 --- a/t/inflate/core.t +++ b/t/inflate/core.t @@ -64,14 +64,8 @@ eval { $cd->set_inflated_column('year', \'year + 1') }; ok(!$@, 'set_inflated_column to "year + 1"'); $cd->update; -TODO: { - local $TODO = 'this was left in without a TODO - should it work?'; - - lives_ok (sub { - $cd->store_inflated_column('year', \'year + 1'); - is_deeply( $cd->year, \'year + 1', 'deflate ok' ); - }, 'store_inflated_column to "year + 1"'); -} +$cd->store_inflated_column('year', \'year + 1'); +is_deeply( $cd->year, \'year + 1', 'scalarref deflate passthrough ok' ); $cd = $rs->find(3); is( $cd->year->year, $before_year+1, 'deflate ok' );