mirror of
https://github.com/atom/atom.git
synced 2026-02-13 08:04:56 -05:00
Update the spec.
This commit is contained in:
@@ -1189,14 +1189,10 @@ describe "TextEditor", ->
|
||||
cursor2 = editor.addCursorAtBufferPosition([1, 4])
|
||||
expect(cursor2.marker).toBe cursor1.marker
|
||||
|
||||
describe '.logCursorScope()', ->
|
||||
beforeEach ->
|
||||
spyOn(atom.notifications, 'addInfo')
|
||||
|
||||
it 'opens a notification', ->
|
||||
editor.logCursorScope()
|
||||
|
||||
expect(atom.notifications.addInfo).toHaveBeenCalled()
|
||||
describe '.getCursorScope()', ->
|
||||
it 'returns the current scope', ->
|
||||
descriptor = editor.getCursorScope()
|
||||
expect(descriptor.scopes).toContain ('source.js')
|
||||
|
||||
describe "selection", ->
|
||||
selection = null
|
||||
|
||||
Reference in New Issue
Block a user