aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/selectmenu_options.js
diff options
context:
space:
mode:
authorDan Wellman <danwellman@hotmail.com>2011-12-01 15:12:03 +0000
committerDan Wellman <danwellman@hotmail.com>2011-12-01 15:12:03 +0000
commitf381749ed7d557c65970df24c9f2dab4fbc242ac (patch)
treea022403327858f3a8d0dcdae1336518bb6180c3d /tests/unit/selectmenu/selectmenu_options.js
parenta4fd5449b24b998ffa514f01b735da2b6465a80a (diff)
downloadjquery-ui-f381749ed7d557c65970df24c9f2dab4fbc242ac.tar.gz
jquery-ui-f381749ed7d557c65970df24c9f2dab4fbc242ac.zip
Updates to events and options unit tests
Diffstat (limited to 'tests/unit/selectmenu/selectmenu_options.js')
-rw-r--r--tests/unit/selectmenu/selectmenu_options.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/unit/selectmenu/selectmenu_options.js b/tests/unit/selectmenu/selectmenu_options.js
index ed6a27bab..0a502712c 100644
--- a/tests/unit/selectmenu/selectmenu_options.js
+++ b/tests/unit/selectmenu/selectmenu_options.js
@@ -7,47 +7,18 @@
}
});
- test("{ appendTo: default }", function () {
- expect(1);
-
- equals(this.element.selectmenu("option", "appendTo"), "body", "should be appended to <body> by default");
- });
-
test("appendTo another element", function () {
expect(1);
ok(this.element.selectmenu("option", "appendTo", "#qunit-fixture"), "appendTo accepts selector");
});
- test("{ dropdown: default }", function () {
- expect(1);
-
- equals(this.element.selectmenu("option", "dropdown"), true, "should be true by default");
- });
-
test("dropdown false", function () {
expect(1);
ok(this.element.selectmenu("option", "dropdown", false), "accepts false");
});
- test("{ position: default }", function () {
- expect(4);
-
- var pos = this.element.selectmenu("option", "position");
-
- ok(typeof (pos) === "object", "position should be of type 'object'");
- equals(pos.my, "left top", "my should be 'left top' by default");
- equals(pos.at, "left bottom", "at should be 'left bottom' by default");
- equals(pos.collision, "none", "collision should be 'none' by default")
- });
-
- test("{ value: default }", function () {
- expect(1);
-
- equals(this.element.selectmenu("option", "value"), "Medium", "should reflect selected value of underlying select");
- });
-
test("value in sync with selected item", function () {
expect(1);