aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_core.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-12-08 13:19:36 -0500
committerMike Sherov <mike.sherov@gmail.com>2012-12-08 13:19:36 -0500
commit5dee8dee309564626393e1871991aa2a0e58dd74 (patch)
tree6aadfd18fca71795200f282dd09e52a4e6fa11bd /tests/unit/dialog/dialog_core.js
parente83a89dd7df3009d46ddd9e7e1cabf42e901e397 (diff)
downloadjquery-ui-5dee8dee309564626393e1871991aa2a0e58dd74.tar.gz
jquery-ui-5dee8dee309564626393e1871991aa2a0e58dd74.zip
Dev: Change incorrect references in test suite from #main to #qunit-fixture.
Diffstat (limited to 'tests/unit/dialog/dialog_core.js')
-rw-r--r--tests/unit/dialog/dialog_core.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js
index 700208dfc..f10087912 100644
--- a/tests/unit/dialog/dialog_core.js
+++ b/tests/unit/dialog/dialog_core.js
@@ -34,8 +34,9 @@ test( "ARIA", function() {
test("widget method", function() {
expect( 1 );
- var dialog = $("<div>").appendTo("#main").dialog();
+ var dialog = $("<div>").appendTo("#qunit-fixture").dialog();
deepEqual(dialog.parent()[0], dialog.dialog("widget")[0]);
+ dialog.remove();
});
test( "focus tabbable", function() {