mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dev: Change incorrect references in test suite from #main to #qunit-fixture.
This commit is contained in:
parent
e83a89dd7d
commit
5dee8dee30
@ -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() {
|
||||
|
@ -17,7 +17,7 @@ test("element types", function() {
|
||||
$.each(typeNames, function(i) {
|
||||
var offsetBefore, offsetAfter,
|
||||
typeName = typeNames[i],
|
||||
el = $(document.createElement(typeName)).appendTo('#main');
|
||||
el = $(document.createElement(typeName)).appendTo('#qunit-fixture');
|
||||
|
||||
(typeName === 'table' && el.append("<tr><td>content</td></tr>"));
|
||||
el.draggable({ cancel: '' });
|
||||
|
@ -600,7 +600,7 @@ test( "#4033 - IE expands hash to full url and misinterprets tab as ajax", funct
|
||||
expect( 2 );
|
||||
|
||||
var element = $("<div><ul><li><a href='#tab'>Tab</a></li></ul><div id='tab'></div></div>");
|
||||
element.appendTo( "#main" );
|
||||
element.appendTo("#qunit-fixture");
|
||||
element.tabs({
|
||||
beforeLoad: function() {
|
||||
event.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user