mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-06-27 16:10:13 +08:00
automated test tweaks
This commit is contained in:
@@ -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());
|
||||
});
|
||||
});
|
||||
});
|
||||
*/
|
||||
@@ -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);
|
||||
});
|
||||
});
|
||||
*/
|
||||
});
|
||||
@@ -5,7 +5,7 @@ describe('now', function() {
|
||||
beforeEach(function() {
|
||||
affix('#cal');
|
||||
options = {
|
||||
defaultDate: '2014-05-1'
|
||||
defaultDate: '2014-05-01'
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user