Unit test stubs.

This commit is contained in:
Olly Smith
2012-11-29 08:18:14 +00:00
parent 10826cbfc0
commit 370edd2e2e

View File

@@ -67,3 +67,15 @@ describe 'Morris.Line', ->
x = new Date(d)
"#{x.getYear()}/#{x.getMonth()+1}/#{x.getDay()}"
chart.data.map((x) -> x.label).should == ['2012/1/1', '2012/1/2']
describe '#generatePaths', ->
it 'should generate smooth lines when options.smooth is true'
it 'should generate jagged lines when options.smooth is false'
it 'should generate smooth/jagged lines according to the value for each series when options.smooth is an array'
it 'should filter undefined values from series'
it 'should filter null values from series only when options.continuousLine is true'
describe '#createPath', ->
it 'should generate a smooth line'
it 'should generate a jagged line'
it 'should break the line at null values'