Remove test for folder not documented

This commit is contained in:
Garen Torikian
2013-04-18 13:24:55 -07:00
parent 3303f5a741
commit 0acccc383e

View File

@@ -326,35 +326,13 @@ describe "the `atom` global", ->
atom.sendMessageToBrowserProcess.simulateConfirmation('Next')
fdescribe "API documentation", ->
describe "API documentation", ->
it "meets a minimum threshold for /app (with no errors)", ->
docRunner = jasmine.createSpy("docRunner")
Exec "cd #{project.resolve('../..')} && rake docs:app:stats", docRunner
waitsFor ->
docRunner.callCount > 0
runs ->
# error
expect(docRunner.argsForCall[0][0]).toBeNull()
results = docRunner.argsForCall[0][1].split("\n")
results.pop()
errors = parseInt results.pop().match(/\d+/)
expect(errors).toBe 0
coverage = parseFloat results.pop().match(/.+?%/)
expect(coverage).toBeGreaterThan 85
# stderr
expect(docRunner.argsForCall[0][2]).toBe ''
it "meets a minimum threshold for /packages (with no errors)", ->
docRunner = jasmine.createSpy("docRunner")
Exec "cd #{project.resolve('../..')} && rake docs:packages:stats", docRunner
waitsFor ->
docRunner.callCount > 0
runs ->
# error
expect(docRunner.argsForCall[0][0]).toBeNull()