aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_options.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2014-12-03 11:23:59 -0500
committerAlexander Schmitz <arschmitz@gmail.com>2015-03-11 16:04:11 -0400
commit6f4884f6f5b422bacbb20dbd82d90d351a985a4b (patch)
tree5031a8fed24efe4883150d313b6863e9e36f9b81 /tests/unit/dialog/dialog_options.js
parentcff1fb2a13e18403c02ba516e08db3a5b21a8b6c (diff)
downloadjquery-ui-6f4884f6f5b422bacbb20dbd82d90d351a985a4b.tar.gz
jquery-ui-6f4884f6f5b422bacbb20dbd82d90d351a985a4b.zip
Dialog: Add classes option
Ref #7053 Ref gh-1411
Diffstat (limited to 'tests/unit/dialog/dialog_options.js')
-rw-r--r--tests/unit/dialog/dialog_options.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js
index 6bab426fb..d9920b9fc 100644
--- a/tests/unit/dialog/dialog_options.js
+++ b/tests/unit/dialog/dialog_options.js
@@ -224,26 +224,6 @@ test("closeText", function() {
element.remove();
});
-test("dialogClass", function() {
- expect( 6 );
-
- var element = $("<div></div>").dialog();
- equal(element.dialog("widget").is(".foo"), false, "dialogClass not specified. foo class added");
- element.remove();
-
- element = $("<div></div>").dialog({ dialogClass: "foo" });
- equal(element.dialog("widget").is(".foo"), true, "dialogClass in init. foo class added");
- element.dialog( "option", "dialogClass", "foobar" );
- equal( element.dialog("widget").is(".foo"), false, "dialogClass changed, previous one was removed" );
- equal( element.dialog("widget").is(".foobar"), true, "dialogClass changed, new one was added" );
- element.remove();
-
- element = $("<div></div>").dialog({ dialogClass: "foo bar" });
- equal(element.dialog("widget").is(".foo"), true, "dialogClass in init, two classes. foo class added");
- equal(element.dialog("widget").is(".bar"), true, "dialogClass in init, two classes. bar class added");
- element.remove();
-});
-
test("draggable", function() {
expect(4);