         beforeEach ->
           @parentView = jasmine.createSpyObj("parentView", ["delegateEvents"])
           CMS.viewStack = [@parentView, @currentView]
-          CMS.on "content.show", (@expectedView) =>
+          CMS.on("content.show", (@expectedView) =>)
           CMS.popView()
 
         it "trigger content.show with the previous view on CMS", ->

    describe "replaceView", ->
      beforeEach ->
        @newView = jasmine.createSpy("newView")
        CMS.on "content.show", (@expectedView) =>
        CMS.replaceView(@newView)

      it "replace the views on the viewStack", ->

    describe "pushView", ->
      beforeEach ->
        @newView = jasmine.createSpy("newView")
        CMS.on("content.show", (@expectedView) =>)
        CMS.pushView(@newView)

      it "push new view onto viewStack", ->
