         _isShown: false
         hideInactive: sinon.spy()
       @context.$el.outerHeight.returns 'HEIGHT'
+      # false means it's visible
+      @context.$el.is.returns false
 
     it 'should place datepicker and show it', ->
       WDP.WaveDatepicker.prototype.show.call @context

          on: sinon.spy()
        $el:
          on: sinon.stub()  # Stub because we need to return $el
        _cancelEvent: 'FUNCTION'
        prev: 'FUNCTION'
        next: 'FUNCTION'

        show: 'FUNCTION'
        hide: 'FUNCTION'
      @context.$el.on.returns @context.$el
      @context.$el.is.returns true

    it 'should bind cancel events to click on datepicker', ->
      WDP.WaveDatepicker.prototype._initEvents.call @context
