mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 23:48:05 +03:00
Use project global in project spec
This commit is contained in:
parent
7145136cd9
commit
31f7d6669f
@ -3,12 +3,8 @@ fs = require 'fs'
|
||||
_ = require 'underscore'
|
||||
|
||||
describe "Project", ->
|
||||
project = null
|
||||
beforeEach ->
|
||||
project = new Project(require.resolve('fixtures/dir'))
|
||||
|
||||
afterEach ->
|
||||
project.destroy()
|
||||
project.setPath(project.resolve('dir'))
|
||||
|
||||
describe "when editSession is destroyed", ->
|
||||
it "removes edit session and calls destroy on buffer (if buffer is not referenced by other edit sessions)", ->
|
||||
|
Loading…
Reference in New Issue
Block a user