Sha256: 663f70843fba7ae5d86709118ccf96c3105a43b470c897ac7d5f3223277cc443
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 Bytes
Contents
module('Component', { setup: function(){ this.component = $('<div class="input-append date" id="datepicker">'+ '<input type="text">'+ '</div>') .appendTo('#qunit-fixture') .datepicker(); this.dp = this.component.data('datepicker'); this.picker = this.dp.picker; }, teardown: function(){ this.picker.remove(); } }); test('Check title with timezone', function(){ var target; this.dp.viewDate = UTCDate(2015, 7, 1); this.dp.fill(); target = this.picker.find('.datepicker-days .datepicker-switch'); equal(target.text(), 'August 2015', 'Title is "August 2015"'); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jinda_lte-0.0.1 | lib/generators/jinda_lte/templates/app/assets/jinda_assets/bower_components/bootstrap-datepicker/tests/suites/timezone.js |