mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 16:08:24 +03:00
Ensure path is present before building a Buffer with it in spec
This commit is contained in:
parent
8468e89db8
commit
6b3180e144
@ -85,6 +85,7 @@ describe 'Buffer', ->
|
||||
|
||||
it "returns false after modified buffer is saved", ->
|
||||
filePath = "/tmp/atom-tmp-file"
|
||||
fs.write(filePath, '')
|
||||
buffer = new Buffer(filePath)
|
||||
expect(buffer.isModified()).toBe false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user