From d88676bf6540657fc22e5faf66836938f3171596 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 25 Aug 2013 16:49:54 +0800 Subject: [PATCH] :lipstick: --- spec/api/protocol.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/api/protocol.coffee b/spec/api/protocol.coffee index 9f5e06c09719..84cf0bc4d0d0 100644 --- a/spec/api/protocol.coffee +++ b/spec/api/protocol.coffee @@ -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