     expect(spy.triggerCount).toBe 2
 
   it 'should call `save` on clicking Save', ->
-    view = new EditorView options
+    view = new EditorView viewOptions()
     spy = spyOn view, 'save'
     view.render()
     expect(spy).not.toHaveBeenCalled()
     view.$('#editor-save-btn').trigger 'click'
     expect(spy).toHaveBeenCalled()
 
+
   describe '.save', ->
 
     it 'should update acornModel with shellModel attributes', ->
-      view = new EditorView options
+      view = new EditorView viewOptions()
       spy = spyOn model, 'shellData'
       view.render()
       expect(spy).not.toHaveBeenCalled()

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

  # options for EditorView contruction
  options = model: model


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

    $player = $('<div>').addClass('acorn-player').appendTo('body')

    # add a SplashView into the DOM to see how it looks.
    view = new EditorView viewOptions()
    view.$el.width 600
    view.$el.height 600
    view.render()
