         mode: 'normal'
 
     it "puts the editor into normal mode when <ctrl-c> is pressed", ->
-      ensure [{platform: 'platform-darwin'}, 'ctrl-c'],
-        mode: 'normal'
+      mock = mockPlatform(editorElement, 'platform-darwin')
+      ensure 'ctrl-c', mode: 'normal'
+      mock.dispose()
 
   describe "replace-mode", ->
     describe "with content", ->

# SPEC_MIGRATION: P1 DONE #270
_ = require 'underscore-plus'
{getVimState, TextData} = require './spec-helper'
settings = require '../lib/settings'

describe "VimState", ->

        mode: 'normal'

    it "puts the editor into normal mode when <ctrl-c> is pressed", ->
      mock = mockPlatform(editorElement, 'platform-darwin')
      ensure 'R ctrl-c', mode: 'normal'
      mock.dispose()

  describe "visual-mode", ->
    beforeEach ->
