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

        beforeEach ->
          @parentView = jasmine.createSpyObj("parentView", ["delegateEvents"])
          CMS.viewStack = [@parentView, @currentView]
          CMS.on("content.show", (@expectedView) =>)
          CMS.popView()

        it "trigger content.show with the previous view on CMS", ->
