From 2d01a3736272ce3d952862c36481c5fcd2b65d8b Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 16 May 2014 17:14:14 +0300 Subject: [PATCH] Fix behat plugin --- PHPCI/Plugin/Behat.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PHPCI/Plugin/Behat.php b/PHPCI/Plugin/Behat.php index 014cff8a..679d9c28 100644 --- a/PHPCI/Plugin/Behat.php +++ b/PHPCI/Plugin/Behat.php @@ -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'])) {