Show a friendly guide when atom-shell is opened without app.

This commit is contained in:
Cheng Zhao 2014-05-05 15:45:50 +08:00
parent 3c0ec73d75
commit a132d2e5a0
4 changed files with 34 additions and 40 deletions

View file

@ -15,11 +15,11 @@ describe 'app module', ->
describe 'app.getName()', ->
it 'returns the name field of package.json', ->
assert.equal app.getName(), 'atom-shell-default-app'
assert.equal app.getName(), 'Atom Shell Default App'
describe 'app.setName(name)', ->
it 'overrides the name', ->
assert.equal app.getName(), 'atom-shell-default-app'
assert.equal app.getName(), 'Atom Shell Default App'
app.setName 'test-name'
assert.equal app.getName(), 'test-name'
app.setName 'atom-shell-default-app'
app.setName 'Atom Shell Default App'