]> source.dussan.org Git - jquery-ui.git/commitdiff
Fixed dialog tests to use same instead of equals for hashes.
authorScott González <scott.gonzalez@gmail.com>
Sat, 28 Mar 2009 00:37:16 +0000 (00:37 +0000)
committerScott González <scott.gonzalez@gmail.com>
Sat, 28 Mar 2009 00:37:16 +0000 (00:37 +0000)
tests/unit/dialog/dialog_options.js

index 0c5c4e1f5e6b034308090bea5eba6285b003949b..feb51fbb47bebd5552402646a976a10ab967f124 100644 (file)
@@ -54,9 +54,9 @@ test("buttons", function() {
                }
        };
 
-       equals(el.data("buttons.dialog"), buttons, '.data("buttons.dialog") getter');
+       same(el.data("buttons.dialog"), buttons, '.data("buttons.dialog") getter');
        el.data("buttons.dialog", newButtons);
-       equals(el.data("buttons.dialog"), newButtons, '.data("buttons.dialog", ...) setter');
+       same(el.data("buttons.dialog"), newButtons, '.data("buttons.dialog", ...) setter');
 
        btn = $("button", dlg());
        equals(btn.length, 1, "number of buttons after setter");