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()) public function __construct(Builder $phpci, Build $build, array $options = array())
{ {
$this->phpci = $phpci; $this->phpci = $phpci;
$this->build = $build; $this->build = $build;
$this->features = ''; $this->features = '';
if (isset($options['executable'])) { if (isset($options['executable'])) {
$this->executable = $options['executable']; $this->executable = $options['executable'];
} else { } else {
$this->executable = $this->phpci->findBinary('atoum'); $this->executable = $this->phpci->findBinary('behat');
} }
if (!empty($options['features'])) { if (!empty($options['features'])) {