From 4b48e07f839c81508d77bc1c76463689656d729d Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 18 Apr 2013 20:41:17 -0700 Subject: [PATCH] Specify cwd instead of cd'ing --- spec/app/atom-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/app/atom-spec.coffee b/spec/app/atom-spec.coffee index 8cde714dd..76822b63b 100644 --- a/spec/app/atom-spec.coffee +++ b/spec/app/atom-spec.coffee @@ -326,7 +326,7 @@ describe "the `atom` global", -> describe "API documentation", -> it "meets a minimum threshold for /app (with no errors)", -> docRunner = jasmine.createSpy("docRunner") - Exec "cd #{project.resolve('../..')} && rake docs:app:stats", docRunner + Exec "rake docs:app:stats", cwd: project.resolve('../..'), docRunner waitsFor -> docRunner.callCount > 0