Skip to content
Permalink
Browse files

Datepicker: Run JSHint test in unit tests.

  • Loading branch information...
scottgonzalez committed Dec 6, 2012
1 parent f761470 commit 20a29dfd61f0f632c0d08aa0d1db3057668f3f7c
Showing with 4 additions and 1 deletion.
  1. +2 −0 tests/unit/datepicker/datepicker_core.js
  2. +2 −1 tests/unit/datepicker/datepicker_options.js
@@ -6,6 +6,8 @@

module("datepicker: core");

TestHelpers.testJshint( "datepicker" );

test("initialization - Reinitialization after body had been emptied.", function() {
expect( 1 );
var bodyContent = $('body').children(), inp = $("#inp");
@@ -64,7 +64,8 @@ test( "disabled", function() {
inp = TestHelpers.datepicker.init('#inp', { disabled: true });
ok(inp.datepicker('isDisabled'), 'Initially marked as disabled');
ok(inp[0].disabled, 'Field initially disabled');
})
});

test('change', function() {
expect( 12 );
var inp = TestHelpers.datepicker.init('#inp'),

0 comments on commit 20a29df

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