From 713403336595776445944b0ace34eeea131c1db9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 4 Aug 2011 09:53:13 -0400 Subject: [PATCH] Accordion tests: Cleanup. --- tests/unit/accordion/accordion_core.js | 2 +- tests/unit/accordion/accordion_deprecated.js | 12 ++++++------ tests/unit/accordion/accordion_events.js | 2 +- tests/unit/accordion/accordion_methods.js | 2 +- tests/unit/accordion/accordion_options.js | 2 +- tests/unit/accordion/accordion_test_helpers.js | 2 +- 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() { -- 2.39.5