Remove quotes from title string

This commit is contained in:
Garen Torikian 2013-10-01 17:53:55 -07:00
parent 4546dbbb23
commit e2b23cd522
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ describe "RootView", ->
it "update the title to contain the project's path", ->
rootView.getActivePane().remove()
expect(rootView.getActivePaneItem()).toBeUndefined()
expect(rootView.title).toBe "#{project.getPath()}"
expect(rootView.title).toBe project.getPath()
describe "when an inactive pane's item changes", ->
it "does not update the title", ->

View File

@ -195,7 +195,7 @@ class RootView extends View
if item = @getActivePaneItem()
@setTitle("#{item.getTitle?() ? 'untitled'} - #{projectPath}")
else
@setTitle("#{projectPath}")
@setTitle(projectPath)
else
@setTitle('untitled')