This commit is contained in:
Cheng Zhao 2013-08-25 16:49:54 +08:00
parent d56a7d75de
commit d88676bf65

View file

@ -45,7 +45,8 @@ describe 'protocol API', ->
$.ajax
url: 'atom-file-job://' + __filename
success: (data) ->
console.log data
content = require('fs').readFileSync __filename
assert.equal data, String(content)
done()
error: (xhr, errorType, error) ->
assert false, 'Got error: ' + errorType + ' ' + error