Skip to content
Permalink
Browse files

spinner test: currency

  • Loading branch information
chicheng committed Aug 19, 2008
1 parent 6d0e27d commit 50fae3972c46f75a68cc1f8fa64a7cf0672d40f8
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/spinner.js
@@ -71,9 +71,9 @@ test("defaults", function() {

test("set defaults on init", function() {
expect(7);
el = $("#spin").spinner({ currency:true, disabled:true, incremental:false, max:200, min:-100, start:50, stepping:2 });
el = $("#spin").spinner({ currency:"£¤", disabled:true, incremental:false, max:200, min:-100, start:50, stepping:2 });

equals(el.data("currency.spinner"), true, "currency");
equals(el.data("currency.spinner"), "£¤", "currency");
equals(el.data("disabled.spinner"), true, "disabled");
equals(el.data("incremental.spinner"), false, "incremental");
equals(el.data("max.spinner"), 200, "max");

0 comments on commit 50fae39

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