fix entity unit tests unit tests updated to accoount for the facet_group title

This commit is contained in:
Adam Young 2011-01-07 13:00:30 -05:00 committed by Endi Sukma Dewata
parent 5c9c006af1
commit f717d7d2e7

View File

@ -111,12 +111,13 @@ test('Testing ipa_facet_setup_views().', function() {
var views = ul.children(); var views = ul.children();
/*5 Views: /*6 Views:
one for each of 3 associations one for each of 3 associations
one for search one for search
one for details
a blank one for the action controls*/ a blank one for the action controls*/
equals( equals(
views.length, 5, views.length, 6,
'Checking number of views' 'Checking number of views'
); );
@ -126,6 +127,7 @@ test('Testing ipa_facet_setup_views().', function() {
); );
li = li.next(); // skip action controls li = li.next(); // skip action controls
li = li.next(); // skip the header line for Member of
var attribute_members = IPA.metadata['user'].attribute_members; var attribute_members = IPA.metadata['user'].attribute_members;
for (var attribute_member in attribute_members) { for (var attribute_member in attribute_members) {