 
 
     it 'should re-enable `Save` button on save error', ->
-      view = new EditorView options
+      view = new EditorView viewOptions()
       spy = spyOn model, 'save'
       spy = spy.andCallFake (attrs, opts) -> opts.error()
 

  model.save = (attrs, opts) -> opts.error()

  # options for EditorView contruction
  options = model: model


  it 'should be part of acorn.player', ->

      expect(view.$('#editor-save-btn').attr 'disabled').toBe 'disabled'

    it 'should trigger `Editor:Saved` event on save success', ->
      view = new EditorView viewOptions()

      saveSpy = spyOn model, 'save'
      saveSpy.andCallFake (attrs, opts) -> opts.success()
