Snapshot deprecations around calls to Project::eachBuffer

This commit is contained in:
Kevin Sawicki
2015-04-06 16:22:31 -07:00
parent 50d9fee0d3
commit 9b7870d503

View File

@@ -502,8 +502,12 @@ describe "Project", ->
describe ".eachBuffer(callback)", ->
beforeEach ->
jasmine.snapshotDeprecations()
atom.project.bufferForPathSync('a')
afterEach ->
jasmine.restoreDeprecationsSnapshot()
it "invokes the callback for existing buffer", ->
count = 0
count = 0