mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-25 23:54:23 +03:00
Update specs
This commit is contained in:
parent
bd8e19bce7
commit
0878d7ab6a
@ -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
|
||||
|
@ -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", ->
|
||||
|
Loading…
Reference in New Issue
Block a user