Update Codeception.php

This commit is contained in:
Dan Cryer 2014-02-25 10:57:44 +00:00
commit 079a567cf0

View file

@ -69,8 +69,8 @@ class Codeception implements \PHPCI\Plugin
return false;
}
$cmd = $codecept . ' run -c "%s"';
$success = $this->phpci->executeCommand($cmd, $this->phpci->buildPath . $configPath);
$cmd = 'cd "%s" && ' . $codecept . ' run -c "%s"';
$success = $this->phpci->executeCommand($cmd, $this->phpci->buildPath, $this->phpci->buildPath . $configPath);
return $success;
}