Do not append "Renderer" in product name when uploading.

This commit is contained in:
Cheng Zhao 2013-11-19 12:19:23 +08:00
parent ed3358e501
commit 20e368eb89
4 changed files with 8 additions and 5 deletions

View file

@ -13,7 +13,7 @@ describe 'crash-reporter module', ->
server = http.createServer (req, res) ->
form = new formidable.IncomingForm()
form.parse req, (error, fields, files) ->
assert.equal fields['prod'], 'Atom-Shell Renderer'
assert.equal fields['prod'], 'Atom-Shell'
assert.equal fields['ver'], process.versions['atom-shell']
assert.equal fields['process_type'], 'renderer'
assert.equal fields['platform'], process.platform