summaryrefslogtreecommitdiffstats
path: root/install/ui/test/navigation_tests.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-12-01 15:58:49 +0100
committerEndi S. Dewata <edewata@redhat.com>2011-12-05 16:02:01 +0000
commitc5ca34f41d2aede667c19d2213a5d7e79a5e301c (patch)
treedaa2cd27a4fd9a579009c900a262b8a5cc40d037 /install/ui/test/navigation_tests.js
parent2759ea29616f14716016c0e62d13909694b2bf0b (diff)
downloadfreeipa-c5ca34f41d2aede667c19d2213a5d7e79a5e301c.tar.gz
freeipa-c5ca34f41d2aede667c19d2213a5d7e79a5e301c.tar.xz
freeipa-c5ca34f41d2aede667c19d2213a5d7e79a5e301c.zip
Fixed unit tests after widget refactoring
https://fedorahosted.org/freeipa/ticket/2040
Diffstat (limited to 'install/ui/test/navigation_tests.js')
-rw-r--r--install/ui/test/navigation_tests.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/install/ui/test/navigation_tests.js b/install/ui/test/navigation_tests.js
index 92a23eebe..f55e29675 100644
--- a/install/ui/test/navigation_tests.js
+++ b/install/ui/test/navigation_tests.js
@@ -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");