test(ganttDb.spec): flip function design to specify inclusive instead

This commit is contained in:
Jason Würtz
2019-07-06 12:26:32 -03:00
parent 5c2d416a34
commit b5b714861d

View File

@@ -151,7 +151,7 @@ describe('when using the ganttDb', function () {
describe('when setting inclusive end dates', function () { describe('when setting inclusive end dates', function () {
beforeEach(function () { beforeEach(function () {
ganttDb.setDateFormat('YYYY-MM-DD', false) ganttDb.setDateFormat('YYYY-MM-DD', true)
ganttDb.addTask('test1', 'id1,2019-02-01,1d') ganttDb.addTask('test1', 'id1,2019-02-01,1d')
ganttDb.addTask('test2', 'id2,2019-02-01,2019-02-03') ganttDb.addTask('test2', 'id2,2019-02-01,2019-02-03')
}) })