Update test for change in Definition behavior. Labels/noFormPost is not required any longer.

This commit is contained in:
Colin Kuskie 2011-07-27 22:45:44 -07:00
parent 0b74f25dd1
commit 04ea5ab533

View file

@ -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',