From f717d7d2e7bf5e89bab0708e31a762a32a192707 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 7 Jan 2011 13:00:30 -0500 Subject: fix entity unit tests unit tests updated to accoount for the facet_group title --- install/static/test/entity_tests.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'install/static/test/entity_tests.js') diff --git a/install/static/test/entity_tests.js b/install/static/test/entity_tests.js index 4b60c3e9..9d1356ea 100644 --- a/install/static/test/entity_tests.js +++ b/install/static/test/entity_tests.js @@ -111,12 +111,13 @@ test('Testing ipa_facet_setup_views().', function() { var views = ul.children(); - /*5 Views: + /*6 Views: one for each of 3 associations one for search + one for details a blank one for the action controls*/ equals( - views.length, 5, + views.length, 6, '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 the header line for Member of var attribute_members = IPA.metadata['user'].attribute_members; for (var attribute_member in attribute_members) { -- cgit