diff --git a/README.md b/README.md index 721ee8c..5891562 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ specify the path to the Laravel framework files like so: ```yaml laravel_extension: - bootstrap_path: "/shared/laravel/install" + framework_path: "/shared/laravel/install" ``` You can specify either an absolute path (use leading slash), or a path relative @@ -125,7 +125,7 @@ install location would be as follows: ```yaml laravel_extension: - bootstrap_path: ".." # Read like vendor/../ + framework_path: ".." # Read like vendor/../ ``` ##Usage diff --git a/src/PhpSpec/Laravel/Extension/LaravelExtension.php b/src/PhpSpec/Laravel/Extension/LaravelExtension.php index 6ee074d..af0f490 100644 --- a/src/PhpSpec/Laravel/Extension/LaravelExtension.php +++ b/src/PhpSpec/Laravel/Extension/LaravelExtension.php @@ -53,7 +53,7 @@ function ($c) use ($getBoostrapPath) $config = $c->getParam('laravel_extension'); $bootstrapPath = $getBoostrapPath( - isset($config['bootstrap_path']) ? $config['bootstrap_path'] : null + isset($config['framework_path']) ? $config['framework_path'] : null ); if (file_exists($bootstrapPath . '/autoload.php')) {