From 04ea5ab5335778b6c6cd07ce6e031f628bf79462 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 27 Jul 2011 22:45:44 -0700 Subject: [PATCH] Update test for change in Definition behavior. Labels/noFormPost is not required any longer. --- t/Definition/Asset.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Definition/Asset.t b/t/Definition/Asset.t index 9a8d1e495..50b383b26 100644 --- a/t/Definition/Asset.t +++ b/t/Definition/Asset.t @@ -25,7 +25,7 @@ use WebGUI::Test; define tableName => 'asset'; ::dies_ok { property 'property1' => (); } 'must have a fieldType'; - ::dies_ok { property 'property1' => (fieldType => 'text'); } 'must pass either a label or noFormPost flag'; + ::lives_ok { property 'property1' => (fieldType => 'text'); } 'label will default to name if not passed'; ::lives_ok { property 'property1' => ( fieldType => 'YUI Super Form', noFormPost => '1',