r2393 - Fixed dialog tests to use same instead of equals for hashes.

r2393 - Fixed dialog tests to use same instead of equals for hashes.


Author: scott.gonzalez
Date: Fri Mar 27 17:37:16 2009
New Revision: 2393
Modified:
trunk/tests/unit/dialog/dialog_options.js
Log:
Fixed dialog tests to use same instead of equals for hashes.
Modified: trunk/tests/unit/dialog/dialog_options.js
==============================================================================
--- trunk/tests/unit/dialog/dialog_options.js    (original)
+++ trunk/tests/unit/dialog/dialog_options.js    Fri Mar 27 17:37:16 2009
@@ -54,9 +54,9 @@
        }
    };
-    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");