|
|
@@ -1,4 +1,4 @@
|
|
|
-describe('timeFormat', function() {
|
|
|
+describe('eventTimeFormat', function() {
|
|
|
|
|
|
pushOptions({
|
|
|
defaultDate: '2014-06-04',
|
|
|
@@ -33,7 +33,7 @@ describe('timeFormat', function() {
|
|
|
|
|
|
it('renders correctly when customized', function() {
|
|
|
initCalendar({
|
|
|
- timeFormat: { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false }
|
|
|
+ eventTimeFormat: { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false }
|
|
|
})
|
|
|
expect(getRenderedEventTime()).toBe('15:00:00')
|
|
|
})
|
|
|
@@ -59,7 +59,7 @@ describe('timeFormat', function() {
|
|
|
|
|
|
it('renders correctly when customized', function() {
|
|
|
initCalendar({
|
|
|
- timeFormat: { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false }
|
|
|
+ eventTimeFormat: { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false }
|
|
|
})
|
|
|
expect(getRenderedEventTime()).toBe('15:00:00 - 17:00:00')
|
|
|
})
|