automated test tweaks

This commit is contained in:
Adam Shaw
2014-05-25 15:38:55 -07:00
parent 077b852048
commit 8d1b3b61da
4 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
// can't do event dragging yet.
// need to work out how fullCalendar is intercepting events.
/*
xdescribe('when event is dragged from one cell to another', function() {
it('should move to the new cell', function() {
var eventName = 'xyzAllDayEvent';
@@ -27,4 +28,5 @@ xdescribe('when event is dragged from one cell to another', function() {
el.simulate('drag', options);
dump(el.offset());
});
});
});
*/
+2
View File
@@ -6,6 +6,7 @@ describe('handleWindowResize', function() {
});
// not true
/*
xdescribe('When default is used, should fire resize event', function() {
it('should fire resize', function() {
var resized = 0;
@@ -17,4 +18,5 @@ describe('handleWindowResize', function() {
expect(resized).toEqual(1);
});
});
*/
});
+1 -1
View File
@@ -5,7 +5,7 @@ describe('now', function() {
beforeEach(function() {
affix('#cal');
options = {
defaultDate: '2014-05-1'
defaultDate: '2014-05-01'
};
});
-1
View File
@@ -3,7 +3,6 @@ describe('when weekends option is set', function() {
beforeEach(function() {
affix('#calendar');
var cal = $('#calendar');
});
it('should show sat and sun if true', function() {