aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/core
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/core')
-rw-r--r--tests/unit/core/core.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js
index a35935c52..23292671a 100644
--- a/tests/unit/core/core.js
+++ b/tests/unit/core/core.js
@@ -57,40 +57,4 @@ test('zIndex', function() {
equals($('#zIndexAutoNoParent').zIndex(), 0, 'zIndex never explicitly set in hierarchy');
});
-test('widget factory, merge multiple option arguments', function() {
- expect(1);
- $.widget("ui.widgetTest", {
- _init: function() {
- same(this.options, {
- disabled: false,
- option1: "value1",
- option2: "value2",
- option3: "value3",
- option4: {
- option4a: "valuea",
- option4b: "valueb"
- }
- });
- }
- });
- $("#main > :first").widgetTest({
- option1: "valuex",
- option2: "valuex",
- option3: "value3",
- option4: {
- option4a: "valuex"
- }
- }, {
- option1: "value1",
- option2: "value2",
- option4: {
- option4b: "valueb"
- }
- }, {
- option4: {
- option4a: "valuea"
- }
- });
-});
-
})(jQuery);