diff --git a/src/BehatExtension.php b/src/BehatExtension.php index bf98bbd..682270a 100644 --- a/src/BehatExtension.php +++ b/src/BehatExtension.php @@ -5,7 +5,7 @@ use Behat\Testwork\ServiceContainer\Extension; use Behat\Testwork\ServiceContainer\ExtensionManager; use RMiller\ErrorExtension\ErrorExtension; -use RMiller\PhpSpecExtension\PhpSpecExtension; +use RMiller\PhpSpecExtension\PhpSpecExtension as BehatPhpSpecExtension; use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; use Symfony\Component\DependencyInjection\ContainerBuilder; @@ -16,7 +16,7 @@ class BehatExtension implements Extension public function __construct() { $this->extensions = [ - new PhpSpecExtension(), + new BehatPhpSpecExtension(), new ErrorExtension(), ]; }