:lipstick: Restore old settings in app specs.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 6 Dec 2013 06:54:29 +0000 (14:54 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 6 Dec 2013 06:54:29 +0000 (14:54 +0800)
browser/atom/rpc-server.coffee
spec/api/app.coffee

index 479a85c..6e072b6 100644 (file)
@@ -80,7 +80,6 @@ callFunction = (event, processId, routingId, func, caller, args) ->
 
 # Send by BrowserWindow when its render view is deleted.
 process.on 'ATOM_BROWSER_RELEASE_RENDER_VIEW', (processId, routingId) ->
-  console.log 'ATOM_BROWSER_RELEASE_RENDER_VIEW', processId, routingId
   objectsRegistry.clear processId, routingId
 
 ipc.on 'ATOM_BROWSER_REQUIRE', (event, processId, routingId, module) ->
index d2d912d..70577e4 100644 (file)
@@ -11,6 +11,7 @@ describe 'app module', ->
       assert.equal app.getVersion(), '0.1.0'
       app.setVersion 'test-version'
       assert.equal app.getVersion(), 'test-version'
+      app.setVersion '0.1.0'
 
   describe 'app.getName()', ->
     it 'returns the name field of package.json', ->
@@ -21,3 +22,4 @@ describe 'app module', ->
       assert.equal app.getName(), 'atom-shell-default-app'
       app.setName 'test-name'
       assert.equal app.getName(), 'test-name'
+      app.setName 'atom-shell-default-app'