Skip to content
Permalink
Browse files

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

  • Loading branch information
scottgonzalez committed Mar 28, 2009
1 parent 4e64af7 commit 2b8109e119975155c9965f84c543105530c0812c
Showing with 2 additions and 2 deletions.
  1. +2 −2 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");

0 comments on commit 2b8109e

Please sign in to comment.
You can’t perform that action at this time.