[Jifty-commit] r4008 - in apps/CASPlus/trunk: t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Aug 29 15:45:46 EDT 2007
Author: sterling
Date: Wed Aug 29 15:45:29 2007
New Revision: 4008
Modified:
apps/CASPlus/trunk/ (props changed)
apps/CASPlus/trunk/t/40-many-to-one_relationships-explicit.t
Log:
r11064 at riddle: andrew | 2007-08-29 14:29:53 -0500
Correcting some mistakes in the test descriptions.
Modified: apps/CASPlus/trunk/t/40-many-to-one_relationships-explicit.t
==============================================================================
--- apps/CASPlus/trunk/t/40-many-to-one_relationships-explicit.t (original)
+++ apps/CASPlus/trunk/t/40-many-to-one_relationships-explicit.t Wed Aug 29 15:45:29 2007
@@ -274,11 +274,11 @@
$role_obj->load(2);
$other_obj->load(1);
- is($role_obj->my_other->id, 1, 'other side of first <other> - role-2 relationship');
+ is($role_obj->my_other->id, 1, 'role side of first <other> - role-2 relationship');
is_deeply(
[ sort map { $_->id } @{ $other_obj->my_roles->items_array_ref } ],
[ 2 ],
- 'user side of first <other> - role-2 relationship'
+ 'other side of first <other> - role-2 relationship'
);
}
@@ -322,7 +322,7 @@
is_deeply(
[ sort map { $_->id } @{ $child_role_obj->my_parent_roles->items_array_ref } ],
[ 3 ],
- 'user side of user-1 - role-3 relationship'
+ 'child side of role-1 - role-3 relationship'
);
}
@@ -366,7 +366,7 @@
is_deeply(
[ sort map { $_->id } @{ $other_obj->my_roles->items_array_ref } ],
[ 2, 4 ],
- 'user side of first <other> - role-4 relationship'
+ 'role side of first <other> - role-4 relationship'
);
}
@@ -410,7 +410,7 @@
is_deeply(
[ sort map { $_->id } @{ $user_obj->my_others->items_array_ref } ],
[ 1 ],
- 'user side of user-4 - second <other> relationship'
+ 'user side of user-3 - first <other> relationship'
);
}
@@ -432,7 +432,7 @@
is_deeply(
[ sort map { $_->id } @{ $child_role_obj->my_parent_roles->items_array_ref } ],
[ 2, 3 ],
- 'user side of user-1 - role-2 relationship'
+ 'child side of user-1 - role-2 relationship'
);
}
More information about the Jifty-commit
mailing list