       expect(@p.plot_canvas.document).to.be.equal doc
 
     describe "get_constrained_variables", ->
+
       beforeEach ->
         plot_canvas = @p.plot_canvas
         # Visual alignment is dominated by the plot_canvas so a number of the

      expect(p.min_border_right).to.be.equal 33.33

    it "should set min_border_x to value of specified, and others to value of min_border", ->
      pp = new Plot({x_range: new DataRange1d(), y_range: new DataRange1d(), min_border: 33.33, min_border_left: 66.66})
      expect(p.min_border_top).to.be.equal 33.33
      expect(p.min_border_bottom).to.be.equal 33.33
      expect(p.min_border_left).to.be.equal 66.66

    @x_range = new Range1d({start: 0, end:10})
    @y_range = new Range1d({start: 0, end: 10})
    toolbar = new Toolbar()
    @p = new Plot({x_range: @x_range, y_range: @y_range, toolbar: toolbar, title: null})

  describe "Plot.View", ->
    afterEach ->
