aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-03-28 00:37:16 +0000
committerScott González <scott.gonzalez@gmail.com>2009-03-28 00:37:16 +0000
commit2b8109e119975155c9965f84c543105530c0812c (patch)
tree7648897a201d8aa39ae44e68642fbcd7bb911af1 /tests
parent4e64af70b655b30c89235911e91ea23e029faf8f (diff)
downloadjquery-ui-2b8109e119975155c9965f84c543105530c0812c.tar.gz
jquery-ui-2b8109e119975155c9965f84c543105530c0812c.zip
Fixed dialog tests to use same instead of equals for hashes.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/dialog/dialog_options.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js
index 0c5c4e1f5..feb51fbb4 100644
--- a/tests/unit/dialog/dialog_options.js
+++ b/tests/unit/dialog/dialog_options.js
@@ -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");