Snippets now advise the insertTab method on EditSessions instead of intercepting events on Editor

This commit is contained in:
Nathan Sobo
2012-06-20 17:56:02 -06:00
parent 9c02e05051
commit 1bec4c8404
2 changed files with 15 additions and 10 deletions

View File

@@ -9,9 +9,9 @@ describe "Snippets extension", ->
[buffer, editor] = []
beforeEach ->
rootView = new RootView(require.resolve('fixtures/sample.js'))
rootView.activateExtension(Snippets)
editor = rootView.activeEditor()
buffer = editor.buffer
rootView.activateExtension(Snippets)
rootView.simulateDomAttachment()
describe "when 'tab' is triggered on the editor", ->