Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Fix title bar tests on non-macOS systems
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryMuse committed Dec 20, 2016
1 parent e788a19 commit 96b7f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/workspace-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ describe "Workspace", ->
describe "document.title", ->
describe "when there is no item open", ->
it "sets the title to 'untitled'", ->
expect(document.title).toEqual "untitled"
expect(document.title).toMatch ///^untitled///

describe "when the active pane item's path is not inside a project path", ->
beforeEach ->
Expand Down Expand Up @@ -951,7 +951,7 @@ describe "Workspace", ->
it "updates the title to be untitled", ->
atom.workspace.getActivePane().destroy()
expect(atom.workspace.getActivePaneItem()).toBeUndefined()
expect(document.title).toEqual "untitled"
expect(document.title).toMatch ///^untitled///

describe "when an inactive pane's item changes", ->
it "does not update the title", ->
Expand Down

0 comments on commit 96b7f7f

Please sign in to comment.