|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
|
-describe('render method', function() {
|
|
|
+describe('updateSize method', function() {
|
|
|
|
|
|
it('updates size of a previously hidden element', function() {
|
|
|
var $el = $('<div style="display:none" />').appendTo('body')
|
|
|
@@ -10,7 +10,7 @@ describe('render method', function() {
|
|
|
}, $el)
|
|
|
|
|
|
$el.show()
|
|
|
- currentCalendar.render()
|
|
|
+ currentCalendar.updateSize()
|
|
|
expect($('.fc-view-container').outerHeight()).toBeCloseTo(600, 0)
|
|
|
|
|
|
$el.remove()
|