From 95dd628d42dabd4628a8324f29f41fbddfb2e68e Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 14 Oct 2015 17:10:30 -0600 Subject: [PATCH] Fix for packages with no spec/fixtures directory --- spec/spec-helper.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index ef2fa60a0..61cdec1ab 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -61,6 +61,8 @@ if specPackagePath = FindParentDir.sync(testPaths[0], 'package.json') if specDirectory = FindParentDir.sync(testPaths[0], 'fixtures') specProjectPath = path.join(specDirectory, 'fixtures') +else + specProjectPath = path.join(__dirname, 'fixtures') beforeEach -> documentTitle = null