     describe "pushView", ->
       beforeEach ->
         @newView = jasmine.createSpy("newView")
-        CMS.on "content.show", (@expectedView) =>
+        CMS.on("content.show", (@expectedView) =>)
         CMS.pushView(@newView)
 
       it "push new view onto viewStack", ->

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

      it "replace the views on the 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", ->
