From 7f0091b67ec5ee804f7507e2269383f1cdb4a409 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Sat, 27 Oct 2012 09:18:59 -0700 Subject: [PATCH] Use /tmp file for non-repo branch label spec --- spec/app/status-bar-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/app/status-bar-spec.coffee b/spec/app/status-bar-spec.coffee index b194c360f..d7d20e29e 100644 --- a/spec/app/status-bar-spec.coffee +++ b/spec/app/status-bar-spec.coffee @@ -114,7 +114,7 @@ describe "StatusBar", -> expect(statusBar.branchLabel.text()).toBe 'master' it "doesn't display the current branch for a file not in a repository", -> - path = require.resolve('fixtures/git/nohead.git/HEAD') + path = '/tmp/temp.txt' rootView.open(path) expect(statusBar.branchArea).toBeHidden() expect(statusBar.branchLabel.text()).toBe ''