         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 "pushView", ->
      beforeEach ->
        @newView = jasmine.createSpy("newView")
        CMS.on "content.show", (@expectedView) =>
        CMS.pushView(@newView)

      it "push new view onto viewStack", ->

      describe "when there's no view on the viewStack", ->
        beforeEach ->
          CMS.viewStack = [@currentView]
          CMS.on("content.hide", => @eventTriggered = true)
          CMS.popView()

        it "trigger content.hide on CMS", ->
