Sfoglia il codice sorgente

fixup tests for external dragging

Adam Shaw 7 anni fa
parent
commit
2816fc5b80
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7 7
      tests/automated/legacy/external-dnd-advanced.js

+ 7 - 7
tests/automated/legacy/external-dnd-advanced.js

@@ -99,8 +99,8 @@ describe('advanced external dnd', function() {
         describe('with a selectConstraint', function() {
         describe('with a selectConstraint', function() {
           pushOptions({
           pushOptions({
             selectConstraint: {
             selectConstraint: {
-              start: '04:00',
-              end: '08:00'
+              startTime: '04:00',
+              endTime: '08:00'
             }
             }
           })
           })
           it('can be dropped within', function(done) {
           it('can be dropped within', function(done) {
@@ -187,7 +187,7 @@ describe('advanced external dnd', function() {
               }, 0)
               }, 0)
             })
             })
           })
           })
-        }
+        })
       })
       })
 
 
       describe('when an overlap is specified', function() {
       describe('when an overlap is specified', function() {
@@ -247,8 +247,8 @@ describe('advanced external dnd', function() {
         describe('via eventConstraint', function() {
         describe('via eventConstraint', function() {
           pushOptions({
           pushOptions({
             eventConstraint: {
             eventConstraint: {
-              start: '04:00',
-              end: '08:00'
+              startTime: '04:00',
+              endTime: '08:00'
             }
             }
           })
           })
           beforeEach(function() {
           beforeEach(function() {
@@ -263,8 +263,8 @@ describe('advanced external dnd', function() {
             dragEl.attr('data-event', JSON.stringify({
             dragEl.attr('data-event', JSON.stringify({
               duration: '02:00',
               duration: '02:00',
               constraint: {
               constraint: {
-                start: '04:00',
-                end: '08:00'
+                startTime: '04:00',
+                endTime: '08:00'
               }
               }
             }))
             }))
           })
           })