Fixed unit tests after widget refactoring

https://fedorahosted.org/freeipa/ticket/2040
This commit is contained in:
Petr Vobornik authored and Endi S. Dewata committed 2011-12-05 16:02:01 +00:00
1 parent 2759ea2961
commit c5ca34f41d
13 files changed
+479 -296

No files matched your search

+4 -8
View File
@@ -149,13 +149,11 @@ test("Testing IPA.navigation.update() with valid index.", function() {
same(
tabs_container.tabs('option', 'selected'), 0,
"Active tab at level 1"
);
"Active tab at level 1");
same(
$('.tabs[name=identity]', tabs_container).tabs('option', 'selected'), 1,
"Active tab at level 2"
);
"Active tab at level 2");
navigation.remove_state("identity");
@@ -201,13 +199,11 @@ test("Testing IPA.navigation.update() with out-of-range index.", function() {
same(
tabs_container.tabs('option', 'selected'), 0,
"Active tab at level 1"
);
"Active tab at level 1");
same(
$('.tabs[name=identity]', tabs_container).tabs('option', 'selected'), 0,
"Active tab at level 2"
);
"Active tab at level 2");
navigation.remove_state("identity");