Fix behat plugin

This commit is contained in:
Andrew 2014-05-16 17:14:14 +03:00
parent f2d374fa17
commit 2d01a37362

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'])) {