Merge pull request #430 from firstrow/patch-1

Fix behat plugin
This commit is contained in:
Dan Cryer 2014-05-16 15:15:16 +01:00
commit 3378945d9c

View file

@ -26,14 +26,14 @@ class Behat implements \PHPCI\Plugin
public function __construct(Builder $phpci, Build $build, array $options = array())
{
$this->phpci = $phpci;
$this->build = $build;
$this->phpci = $phpci;
$this->build = $build;
$this->features = '';
if (isset($options['executable'])) {
$this->executable = $options['executable'];
} else {
$this->executable = $this->phpci->findBinary('atoum');
$this->executable = $this->phpci->findBinary('behat');
}
if (!empty($options['features'])) {