         it "deletes nothing", ->
           keydown('d')
           keydown('k')
-          expect(editor.getText()).toBe(@originalText)
+          expect(editor.getText()).toBe(originalText)
 
       describe "when on the middle of second line", ->
         beforeEach ->

        expect(editorElement.classList.contains('command-mode')).toBe(true)

    describe "when followed by an j", ->
      beforeEach ->
        @originalText = "12345\nabcde\nABCDE"
        editor.setText(@originalText)

      describe "on the beginning of the file", ->
        beforeEach ->

          expect(editor.getText()).toBe("12345")

    describe "when followed by an k", ->
      originalText = "12345\nabcde\nABCDE"

      beforeEach ->
        editor.setText(originalText)

      describe "on the end of the file", ->
        beforeEach ->
