Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made unit test description better

  • Loading branch information...
commit d3f4ad2f374073bc2acc13b418b48bf386facb3d 1 parent 4eeab67
@fracmak authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/datepicker/datepicker_options.js
View
4 tests/unit/datepicker/datepicker_options.js
@@ -407,9 +407,9 @@ test('minMax', function() {
TestHelpers.datepicker.equalsDate(inp.datepicker('getDate'), maxDate, 'Min/max - setDate > max');
inp.datepicker('option', {yearRange: '-0:+1'}).val('01/01/' + new Date().getFullYear());
- ok(dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "previous button disabled");
+ ok(dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - previous button disabled at 1/1/minYear");
inp.datepicker("setDate", "12/30/" + new Date().getFullYear());
- ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "next button disabled");
+ ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - next button disabled at 12/30/maxYear");
});
test('setDate', function() {
Please sign in to comment.
Something went wrong with that request. Please try again.