Skip to content

Commit

Permalink
Merge pull request #73 from ifdattic/patch-4
Browse files Browse the repository at this point in the history
Composer auto find version
  • Loading branch information
stof committed Feb 23, 2015
2 parents 4fd5eac + 79c4620 commit 9c03735
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cookbooks/1.symfony2_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It can be done automatically for you with this command:

.. code-block:: bash
$ php composer.phar require --dev "behat/behat ~3.0"
$ php composer.phar require --dev behat/behat
.. note::

Expand Down Expand Up @@ -56,7 +56,7 @@ To do this you need to add another dependency, but in the same way we did it a w

.. code-block:: bash
$ php composer.phar require --dev "behat/symfony2-extension ~2.0"
$ php composer.phar require --dev behat/symfony2-extension
Now it's time to enable extension in your ``behat.yml`` file.
If it doesn't exist just create such file in your project root and fill it with following content:
Expand Down Expand Up @@ -105,14 +105,14 @@ If you don't have Mink and MinkExtension yet, you can install those two with:

.. code-block:: bash
$ php composer.phar require --dev "behat/mink ~1.5"
$ php composer.phar require --dev "behat/mink-extension ~2.0"
$ php composer.phar require --dev behat/mink
$ php composer.phar require --dev behat/mink-extension
In order to install BrowserKit Driver you need to execute following command:

.. code-block:: bash
$ php composer.phar require --dev "behat/mink-browserkit-driver ~1.1"
$ php composer.phar require --dev behat/mink-browserkit-driver
Now you are only one step from being ready to make full use of Symfony2 extension in your project.
You need to enable extension in your ``behat.yml`` file as follows:
Expand Down

0 comments on commit 9c03735

Please sign in to comment.