aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorLuke Page <luke.a.page@gmail.com>2015-01-10 21:09:18 +0000
committerScott González <scott.gonzalez@gmail.com>2015-02-09 11:58:40 -0500
commitad121b28cd087733a0d8791d9b4b04409dc23885 (patch)
treed4e46890f89782d47e592cd895c17214bb837116 /tests/unit
parent7ff9b28de30360e1688c3c1bcf0444def56382ab (diff)
downloadjquery-ui-ad121b28cd087733a0d8791d9b4b04409dc23885.tar.gz
jquery-ui-ad121b28cd087733a0d8791d9b4b04409dc23885.zip
DatePicker: Fix tests to have unique names
(cherry picked from commit c21700742b0bfd4debc32b9058504d01b62a1501)
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/datepicker/datepicker_options.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js
index 12da290bb..8f18c8543 100644
--- a/tests/unit/datepicker/datepicker_options.js
+++ b/tests/unit/datepicker/datepicker_options.js
@@ -509,16 +509,16 @@ test("minMax", function() {
maxDate: "-6Y",
yearRange: "1900:-6"
}).val( "" );
- ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - next button disabled");
- ok(!dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - prev button enabled");
+ ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - relative - next button disabled");
+ ok(!dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - relative - prev button enabled");
inp.datepicker("option", {
minDate: new Date(1900, 0, 1),
maxDate: "1/25/2007",
yearRange: "1900:2007"
}).val( "" );
- ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - next button disabled");
- ok(!dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - prev button enabled");
+ ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - absolute - next button disabled");
+ ok(!dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - absolute - prev button enabled");
});
test("setDate", function() {