parent
a59a6f9364
commit
2b9b2f26e5
2 changed files with 2 additions and 1 deletions
|
|
@ -79,6 +79,7 @@ describe "the commands", ->
|
|||
submitNormalModeInputText('write')
|
||||
expect(fs.existsSync(filePath)).toBe(true)
|
||||
expect(fs.readFileSync(filePath, 'utf-8')).toEqual('abc\ndef')
|
||||
expect(editor.isModified()).toBe(false)
|
||||
|
||||
it "saves when a path is specified in the save dialog", ->
|
||||
spyOn(atom, 'showSaveDialogSync').andReturn(undefined)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue