mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
spinner test: currency
This commit is contained in:
parent
6d0e27d2de
commit
50fae3972c
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user