         'Add Into' : { callback: => (->) }
         'Edit' : { callback: => (->) }
         'Delete' : { callback: => (->) }
+
+  afterEach ->
+    @sinon.restore()
 
   describe 'constructor', ->
     it 'should instantiate without any errors', ->


  describe 'contextMenu', ->
    it 'should create context menu', ->
      @view.createContextMenu = sinon.spy (->)
      @view.contextMenu();
      @view.createContextMenu.should.be.calledOnce


describe 'KDButtonViewWithMenu', ->
  beforeEach ->
    @sinon = sinon.sandbox.create()
    @view = new KDButtonViewWithMenu
      title : 'Settings'
      iconClass : 'settings'
