test(ganttDb.spec): fix missing initialization for clear test

This commit is contained in:
Jason Würtz 2019-07-07 17:04:40 -03:00
parent 67bb5ffa73
commit b7c4b66b61

View File

@ -10,6 +10,7 @@ describe('when using the ganttDb', function () {
describe('when calling the clear function', function () {
beforeEach(function () {
ganttDb.setDateFormat('YYYY-MM-DD')
ganttDb.enableInclusiveEndDates()
ganttDb.setExcludes('weekends 2019-02-06,friday')
ganttDb.addSection('weekends skip test')
ganttDb.addTask('test1', 'id1,2019-02-01,1d')