r1992 - trunk/tests/unit/tabs
Author: klaus.hartl
Date: Wed Feb 4 01:35:52 2009
New Revision: 1992
Modified:
trunk/tests/unit/tabs/tabs_core.js
trunk/tests/unit/tabs/tabs_defaults.js
trunk/tests/unit/tabs/tabs_options.js
Log:
just reviewed
Modified: trunk/tests/unit/tabs/tabs_core.js
==============================================================================
--- trunk/tests/unit/tabs/tabs_core.js (original)
+++ trunk/tests/unit/tabs/tabs_core.js Wed Feb 4 01:35:52 2009
@@ -1,6 +1,8 @@
/*
* tabs_core.js
*/
+var el;
+
(function($) {
module("tabs: core");
Modified: trunk/tests/unit/tabs/tabs_defaults.js
==============================================================================
--- trunk/tests/unit/tabs/tabs_defaults.js (original)
+++ trunk/tests/unit/tabs/tabs_defaults.js Wed Feb 4 01:35:52 2009
@@ -5,8 +5,8 @@
var tabs_defaults = {
ajaxOptions: null,
cache: false,
- cookie: null,
collapsible: false,
+ cookie: null,
disabled: [],
event: 'click',
fx: null,
Modified: trunk/tests/unit/tabs/tabs_options.js
==============================================================================
--- trunk/tests/unit/tabs/tabs_options.js (original)
+++ trunk/tests/unit/tabs/tabs_options.js Wed Feb 4 01:35:52 2009
@@ -83,7 +83,7 @@
ok(false, "missing test - untested code is broken code.");
});
-test('events', function() {
+test('event', function() {
ok(false, "missing test - untested code is broken code.");
});
@@ -99,7 +99,7 @@
ok(false, "missing test - untested code is broken code.");
});
-test('selected: null', function() {
+test('selected: null', function() { // TODO move to selected
expect(2);
el = $('#tabs1');
@@ -110,7 +110,7 @@
});
-test('selected property', function() {
+test('selected', function() {
expect(5);
$('#tabs1').tabs();