]> khamidou — GitHub mirrors - electron.git/commitdiff
Change the names in specs
authorCheng Zhao <zcbenz@gmail.com>
Tue, 14 Apr 2015 07:59:45 +0000 (15:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 14 Apr 2015 07:59:45 +0000 (15:59 +0800)
package.json
spec/api-app-spec.coffee
spec/api-crash-reporter-spec.coffee
spec/package.json
spec/static/main.js

index e3017e0f108cabd8e887c743af895c90bfad45d9..07e87364f978d93dd3d666744824fa983c72a26f 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "name": "atom-shell",
+  "name": "electron",
   "devDependencies": {
     "asar": "0.2.2",
     "coffee-script": "~1.7.1",
index 1894245a0e960a3177342d3c4be94ea912c285b8..1c88c0277b30ddd66b7c333a534d49396a476090 100644 (file)
@@ -15,11 +15,11 @@ describe 'app module', ->
 
   describe 'app.getName()', ->
     it 'returns the name field of package.json', ->
-      assert.equal app.getName(), 'Electron Test App'
+      assert.equal app.getName(), 'Electron Test'
 
   describe 'app.setName(name)', ->
     it 'overrides the name', ->
-      assert.equal app.getName(), 'Electron Test App'
+      assert.equal app.getName(), 'Electron Test'
       app.setName 'test-name'
       assert.equal app.getName(), 'test-name'
       app.setName 'Electron Test App'
index 0e84403647714a08a9daa27f0d1b8dd66f648436..d6a619c905c33e467baa800469b8a600446b61b1 100644 (file)
@@ -27,8 +27,8 @@ describe 'crash-reporter module', ->
       process.throwDeprecation = false
       form.parse req, (error, fields, files) ->
         process.throwDeprecation = true
-        assert.equal fields['prod'], 'Atom-Shell'
-        assert.equal fields['ver'], process.versions['atom-shell']
+        assert.equal fields['prod'], 'Electron'
+        assert.equal fields['ver'], process.versions['electron']
         assert.equal fields['process_type'], 'renderer'
         assert.equal fields['platform'], process.platform
         assert.equal fields['extra1'], 'extra1'
index 9a2dbad3edfa1d78699635843f387a16818811e1..d91398382d9a7dd1e6d8b4c6fca95fda44b24020 100644 (file)
@@ -1,6 +1,6 @@
 {
-  "name": "atom-shell-specs",
-  "productName": "Electron Test App",
+  "name": "electron-test",
+  "productName": "Electron Test",
   "main": "static/main.js",
   "version": "0.1.0",
   "devDependencies": {
index 6864be3b146de1af12dadba2d04883bb78ec678e..df9f19a630e24b7eafba2545e20a56dea4d03863 100644 (file)
@@ -137,7 +137,7 @@ app.on('ready', function() {
   require('protocol').registerProtocol('test-if-crashes', function() {});
 
   window = new BrowserWindow({
-    title: 'atom-shell tests',
+    title: 'Electron Tests',
     show: false,
     width: 800,
     height: 600,