morris.js/spec/support/placeholder.coffee

7 lines
162 B
CoffeeScript
Raw Normal View History

beforeEach ->
placeholder = $('<div id="graph" style="width: 600px; height: 400px"></div>')
$('#test').append(placeholder)
afterEach ->
$('#test').empty()