aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-08-04 09:53:13 -0400
committerScott González <scott.gonzalez@gmail.com>2011-08-06 11:45:12 -0400
commit713403336595776445944b0ace34eeea131c1db9 (patch)
treeec6a24d05e0d78e7516d537c2705d7a8a1a66f2b /tests/unit
parente55e1fb5bf95412a3a5cd7a1d0690979238ff376 (diff)
downloadjquery-ui-713403336595776445944b0ace34eeea131c1db9.tar.gz
jquery-ui-713403336595776445944b0ace34eeea131c1db9.zip
Accordion tests: Cleanup.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/accordion/accordion_core.js2
-rw-r--r--tests/unit/accordion/accordion_deprecated.js12
-rw-r--r--tests/unit/accordion/accordion_events.js2
-rw-r--r--tests/unit/accordion/accordion_methods.js2
-rw-r--r--tests/unit/accordion/accordion_options.js2
-rw-r--r--tests/unit/accordion/accordion_test_helpers.js2
6 files changed, 11 insertions, 11 deletions
diff --git a/tests/unit/accordion/accordion_core.js b/tests/unit/accordion/accordion_core.js
index 18d2d6bfb..3442cad62 100644
--- a/tests/unit/accordion/accordion_core.js
+++ b/tests/unit/accordion/accordion_core.js
@@ -1,6 +1,6 @@
(function( $ ) {
-module( "accordion: core", accordionSetupTeardown() );
+module( "accordion: core", accordion_setupTeardown() );
$.each( { div: "#list1", ul: "#navigation", dl: "#accordion-dl" }, function( type, selector ) {
test( "markup structure: " + type, function() {
diff --git a/tests/unit/accordion/accordion_deprecated.js b/tests/unit/accordion/accordion_deprecated.js
index 3a2075b2b..eec034e18 100644
--- a/tests/unit/accordion/accordion_deprecated.js
+++ b/tests/unit/accordion/accordion_deprecated.js
@@ -1,6 +1,6 @@
(function( $ ) {
-module( "accordion (deprecated): expanded active option, activate method", accordionSetupTeardown() );
+module( "accordion (deprecated): expanded active option, activate method", accordion_setupTeardown() );
test( "activate, numeric", function() {
expect( 5 );
@@ -101,7 +101,7 @@ test( "{ active: jQuery Object }", function() {
-module( "accordion (deprecated) - height options", accordionSetupTeardown() );
+module( "accordion (deprecated) - height options", accordion_setupTeardown() );
test( "{ autoHeight: true }, default", function() {
expect( 3 );
@@ -174,7 +174,7 @@ test( "{ fillSpace: true } with multiple siblings", function() {
-module( "accordion (deprecated) - icons", accordionSetupTeardown() );
+module( "accordion (deprecated) - icons", accordion_setupTeardown() );
test( "icons, headerSelected", function() {
expect( 3 );
@@ -191,7 +191,7 @@ test( "icons, headerSelected", function() {
-module( "accordion (deprecated) - resize", accordionSetupTeardown() );
+module( "accordion (deprecated) - resize", accordion_setupTeardown() );
test( "resize", function() {
expect( 6 );
@@ -213,7 +213,7 @@ test( "resize", function() {
-module( "accordion (deprecated) - navigation", accordionSetupTeardown() );
+module( "accordion (deprecated) - navigation", accordion_setupTeardown() );
test( "{ navigation: true, navigationFilter: header }", function() {
expect( 2 );
@@ -243,7 +243,7 @@ test( "{ navigation: true, navigationFilter: content }", function() {
-module( "accordion (deprecated) - changestart/change events", accordionSetupTeardown() );
+module( "accordion (deprecated) - changestart/change events", accordion_setupTeardown() );
test( "changestart", function() {
expect( 26 );
diff --git a/tests/unit/accordion/accordion_events.js b/tests/unit/accordion/accordion_events.js
index d704e54c8..12acf2a44 100644
--- a/tests/unit/accordion/accordion_events.js
+++ b/tests/unit/accordion/accordion_events.js
@@ -1,6 +1,6 @@
(function( $ ) {
-module( "accordion: events", accordionSetupTeardown() );
+module( "accordion: events", accordion_setupTeardown() );
test( "beforeActivate", function() {
expect( 38 );
diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js
index c6ba3230a..9f61647c4 100644
--- a/tests/unit/accordion/accordion_methods.js
+++ b/tests/unit/accordion/accordion_methods.js
@@ -1,6 +1,6 @@
(function( $ ) {
-module( "accordion: methods", accordionSetupTeardown() );
+module( "accordion: methods", accordion_setupTeardown() );
test( "destroy", function() {
expect( 1 );
diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js
index 80b7f0b39..a60bb27e1 100644
--- a/tests/unit/accordion/accordion_options.js
+++ b/tests/unit/accordion/accordion_options.js
@@ -1,6 +1,6 @@
(function( $ ) {
-module( "accordion: options", accordionSetupTeardown() );
+module( "accordion: options", accordion_setupTeardown() );
test( "{ active: default }", function() {
expect( 2 );
diff --git a/tests/unit/accordion/accordion_test_helpers.js b/tests/unit/accordion/accordion_test_helpers.js
index cdda7a7e3..66d60a469 100644
--- a/tests/unit/accordion/accordion_test_helpers.js
+++ b/tests/unit/accordion/accordion_test_helpers.js
@@ -17,7 +17,7 @@ function accordion_equalHeights( accordion, min, max ) {
deepEqual( sizes[ 0 ], sizes[ 2 ] );
}
-function accordionSetupTeardown() {
+function accordion_setupTeardown() {
var animated = $.ui.accordion.prototype.options.animated;
return {
setup: function() {