Update specs

This commit is contained in:
probablycorey 2013-11-15 10:45:21 -08:00
parent bd8e19bce7
commit 0878d7ab6a
2 changed files with 2 additions and 2 deletions

View File

@ -2719,7 +2719,7 @@ describe "Editor", ->
describe "when the escape key is pressed on the editor", ->
it "clears multiple selections if there are any, and otherwise allows other bindings to be handled", ->
keymap.bindKeys '.editor', 'escape': 'test-event'
keymap.bindKeys 'name', '.editor', 'escape': 'test-event'
testEventHandler = jasmine.createSpy("testEventHandler")
editor.on 'test-event', testEventHandler

View File

@ -136,7 +136,7 @@ describe "RootView", ->
commandHandler = jasmine.createSpy('commandHandler')
rootView.on('foo-command', commandHandler)
atom.keymap.bindKeys('*', 'x': 'foo-command')
atom.keymap.bindKeys('name', '*', 'x': 'foo-command')
describe "when a keydown event is triggered in the RootView", ->
it "triggers matching keybindings for that event", ->