Sha256: 979f1b93851ae7365090f0f7650644742ed8bcabf415457a6e4e35be9973a44a

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

describe "StaticLine", ->
  beforeEach ->
    @line = new StaticLine(13, "red")
  
  
  it "should return its definition", ->
    expected_def = {
        data: [[jasmine.any(Number), 13], [jasmine.any(Number), 13]],
        legend: "",
        color: 'red'
      }
    expect(@line.get_definition(0, 1)).toEqual(expected_def)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rrd-grapher-1.0.3 spec/javascripts/source/static_line_spec.coffee
rrd-grapher-1.0.2 spec/javascripts/source/static_line_spec.coffee
rrd-grapher-1.0.1 spec/javascripts/source/static_line_spec.coffee
rrd-grapher-1.0.0 spec/javascripts/source/static_line_spec.coffee