Skip to content

Commit

Permalink
Merge pull request #595 from frankschmitt/spec-fix-1
Browse files Browse the repository at this point in the history
Spec fix 1
  • Loading branch information
tylerlong authored Dec 26, 2017
2 parents 8848203 + 48ef5d7 commit 3fbe3a3
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/diagrams/gantt/gantt.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,21 @@ describe('when parsing a gantt diagram it', function () {
parser.yy = ganttDb
})

it('should handle an dateFormat definition', function () {
it('should handle a dateFormat definition', function () {
const str = 'gantt\ndateFormat yyyy-mm-dd'

parser.parse(str)
})
it('should handle an dateFormat definition', function () {
it('should handle a title definition', function () {
const str = 'gantt\ndateFormat yyyy-mm-dd\ntitle Adding gantt diagram functionality to mermaid'

parser.parse(str)
})
it('should handle an dateFormat definition', function () {
const str = 'gantt\ndateFormat yyyy-mm-dd\ntitle Adding gantt diagram functionality to mermaid'

parser.parse(str)
})
it('should handle an section definition', function () {
const str = 'gantt\ndateFormat yyyy-mm-dd\ntitle Adding gantt diagram functionality to mermaid'
it('should handle a section definition', function () {
const str = 'gantt\n' +
'dateFormat yyyy-mm-dd\n' +
'title Adding gantt diagram functionality to mermaid\n' +
'section Documentation'

parser.parse(str)
})
Expand Down

0 comments on commit 3fbe3a3

Please sign in to comment.