aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/widget/widget_core.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2011-02-23 12:46:13 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2011-02-23 12:46:13 +0100
commitc37637ee99ed737d2f81b58cb4d307fc01791319 (patch)
treeef0ca72285f5a51a0ae83b471358a684bf420502 /tests/unit/widget/widget_core.js
parent6597d3eafb6b51fa064442af5f3c48a5d660b09b (diff)
downloadjquery-ui-c37637ee99ed737d2f81b58cb4d307fc01791319.tar.gz
jquery-ui-c37637ee99ed737d2f81b58cb4d307fc01791319.zip
Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use
Diffstat (limited to 'tests/unit/widget/widget_core.js')
-rw-r--r--tests/unit/widget/widget_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js
index 11325140f..837e282c6 100644
--- a/tests/unit/widget/widget_core.js
+++ b/tests/unit/widget/widget_core.js
@@ -56,7 +56,7 @@ test( "element normalization", function() {
$.ui.testWidget( {}, elem );
elem = $( "<div id='element-normalization-selector'></div>" )
- .appendTo( "#main" );
+ .appendTo( "#qunit-fixture" );
$.ui.testWidget.prototype._create = function() {
same( this.element[ 0 ], elem[ 0 ], "from selector" );
same( elem.data( "testWidget" ), this, "instace stored in .data()" );