         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

          addClass: sinon.spy()
        $el:
          outerHeight: sinon.stub()
        _place: sinon.spy()
        $window:
          on: sinon.spy()

        _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
