From 5ae6c8550738e77087fd303de797c7792478017c Mon Sep 17 00:00:00 2001 From: danio1024 Date: Fri, 9 May 2014 14:51:45 +0200 Subject: [PATCH 1/2] Added missing run statement for PhpSpec --- PHPCI/Plugin/PhpSpec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/PhpSpec.php b/PHPCI/Plugin/PhpSpec.php index c8a36253..b2213013 100644 --- a/PHPCI/Plugin/PhpSpec.php +++ b/PHPCI/Plugin/PhpSpec.php @@ -58,7 +58,7 @@ class PhpSpec implements PHPCI\Plugin return false; } - $success = $this->phpci->executeCommand($phpspec . ' --format=pretty --no-code-generation'); + $success = $this->phpci->executeCommand($phpspec . ' run --format=pretty --no-code-generation'); chdir($curdir); From a66206ff80d04c483268fe3ca28c2ee118dca538 Mon Sep 17 00:00:00 2001 From: danio1024 Date: Fri, 9 May 2014 15:15:55 +0200 Subject: [PATCH 2/2] Changed PhpSpec run command order to match docs --- PHPCI/Plugin/PhpSpec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/PhpSpec.php b/PHPCI/Plugin/PhpSpec.php index b2213013..c8ba27bc 100644 --- a/PHPCI/Plugin/PhpSpec.php +++ b/PHPCI/Plugin/PhpSpec.php @@ -58,7 +58,7 @@ class PhpSpec implements PHPCI\Plugin return false; } - $success = $this->phpci->executeCommand($phpspec . ' run --format=pretty --no-code-generation'); + $success = $this->phpci->executeCommand($phpspec . ' --format=pretty --no-code-generation run'); chdir($curdir);