   #   dd.show()
   #   setTimeout ->
   #     ddBox = roundAll dd._.dropdown.box()
-  #     expect(dd._.dropdown.style('max-height')).toEqual('5px')
-  #     expect(ddBox.left).toEqual(buttonBox.left)
-  #     expect(ddBox.height).toEqual(5)
+  #     dd._.dropdown.style('max-height').should.equal('5px')
+  #     ddBox.left.should.equal(buttonBox.left)
+  #     ddBox.height.should.equal(5)
   #     hx.select('#style').remove()
   #   , 300
-  #   jasmine.clock().tick(301)
+  #   clock.tick(301)
 
   it 'should shift the dropdown down if shifting it up has moved it off the top of the screen', ->
     dd = new hx.Dropdown(id, content, {align: 'up'})

    hx.loop = hx_loop = (f) ->
      g = -> hx_loop_update(f, g)
      hx_loop_update(f, g)
    jasmine.clock().install()
    baseTime = new Date(2013, 0, 1)
    jasmine.clock().mockDate(baseTime)

  afterAll ->
    fixture.remove()
    hx.loop = savedHxLoop
    jasmine.clock().uninstall()
    hx.select('body')
      .style('padding', '')
      .style('margin', '')

    dd.show()
    setTimeout ->
      ddBox = roundAll dd._.dropdown.box()
      ddBox.top.should.equal(buttonBox.top + buttonBox.height + getSpacing(dd))
      ddBox.left.should.equal(buttonBox.left)
    , 300
    clock.tick(301)


  describe 'align', ->
