Add tests for most other wobjects. Block broken code in Role/Asset/Comments. Refactor run_asset.t

This commit is contained in:
Colin Kuskie 2010-03-12 08:41:04 -08:00
parent e0e71a5925
commit 8209de7978
23 changed files with 648 additions and 78 deletions

View file

@ -206,11 +206,11 @@ sub keywords : Test(3) {
is $asset->get('keywords'), 'chess set', 'via get method';
}
sub keywords : Test(1) {
sub get_tables : Test(1) {
my $test = shift;
note "get_tables";
my @tables = $test->class->meta->get_tables;
cmp_deeply(
cmp_bag(
\@tables,
$test->list_of_tables,
'Set of tables for properties is correct'