     return selectedSparkline
 
   beforeEach ->
+    @id = _.uniqueId 'test-'
+    @DOMElement = d3.select document.body
+      .append 'div'
+      .classed 'test-dom-container', true
+      .classed "#{@id}", true
+      .node()
+
     @sparklines = d3.toucan.sparklines
       dateSelector: 'date'
       valueSelector: 'val'

    return

  afterEach ->
    d3.select '.sparklines-test-case'
    .remove()

  describe 'when data is valid', ->
    beforeEach ->
      @sparklinesSelection = createSparklinesSelection SAMPLE_DATA
      @sparklinesSelection.call @sparklines

    it 'should add path to each element of this selection', ->

describe 'd3.toucan.sparklines', ->
  SAMPLE_DATA = [
    label: 'A'
    date: 1
