Updated new recur logic to work with tests

This commit is contained in:
Keith Holliday
2017-05-08 09:39:50 -06:00
parent 6174624b89
commit a0ee73e944
2 changed files with 10 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ describe('shouldDo', () => {
expect(shouldDo(day, dailyTask, options)).to.equal(true);
});
it('returns true if Start Date is today', () => {
it('returns true if Start Date is today', () => {
dailyTask.startDate = moment().startOf('day').toDate();
expect(shouldDo(day, dailyTask, options)).to.equal(true);
});