diff --git a/behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php b/behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php index 0835b5c7..3fbc2517 100644 --- a/behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php +++ b/behat/symfony2-extension/2.1/features/bootstrap/FeatureContext.php @@ -23,9 +23,9 @@ class FeatureContext implements Context } /** - * @When this is a demo scenario that sends a request to :path + * @When a demo scenario sends a request to :path */ - public function thisIsADemoScenarioThatSendsARequestTo(string $path) + public function aDemoScenarioSendsARequestTo(string $path) { $this->response = $this->kernel->handle(Request::create($path, 'GET')); } diff --git a/behat/symfony2-extension/2.1/features/demo.feature b/behat/symfony2-extension/2.1/features/demo.feature index 99a20383..31bf16dd 100644 --- a/behat/symfony2-extension/2.1/features/demo.feature +++ b/behat/symfony2-extension/2.1/features/demo.feature @@ -1,8 +1,8 @@ Feature: - In order to proves that the Behat Symfony extension is correctly installed + In order to prove that the Behat Symfony extension is correctly installed As a user I want to have a demo scenario Scenario: It receives a response from Symfony's kernel - When this is a demo scenario that sends a request to "/" + When a demo scenario sends a request to "/" Then the response should be received