Преглед изворни кода

relax test comparing dimension to integer (for jquery upgrade)

Adam Shaw пре 9 година
родитељ
комит
716e2b9700
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tests/automated/height-and-contentHeight.js

+ 1 - 1
tests/automated/height-and-contentHeight.js

@@ -61,7 +61,7 @@
 			describe('as a number, when there are no events', function() {
 				it('should be the specified height, with no scrollbars', function() {
 					init(600);
-					expect(heightElm.outerHeight()).toBe(600);
+					expect(Math.round(heightElm.outerHeight())).toBe(600);
 					expect('.fc-day-grid-container').not.toHaveScrollbars();
 				});
 			});