Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

some typos #2

Merged
merged 1 commit into from May 29, 2012
Jump to file or symbol
Failed to load files and symbols.
+8 −8
Split
View
@@ -5,9 +5,9 @@ Status](https://secure.travis-ci.org/Behat/Symfony2Extension.png?branch=master)]
Provides integration layer for Symfony2:
-* Complete integration into Symfony2 bundle structure - you can run isolated
+* Complete integration into Symfony2 bundle structure - you can run an isolated
bundle suite by bundle shortname, classname or even full path
-* `KernelAwareInterface`, which provides initialized and booted kernel instance
+* `KernelAwareInterface`, which provides an initialized and booted kernel instance
for your contexts
* Additional `symfony2` session (sets as default) for Mink (if `MinkExtension` is installed)
@@ -84,10 +84,10 @@ After installing extension, there would be 2 usage options available for you:
2. Implementing `Behat\Symfony2Extension\Context\KernelAwareInterface` with your context or its
subcontexts.
This will give you more customization options. Also, you can use this mechanism on multiple
- contexts avoiding the need to call parent contexts from subcontexts when only thing you need
- is mink instance.
+ contexts avoiding the need to call parent contexts from subcontexts when the only thing you need
+ is a mink instance.
-There's common thing between those 2 methods. In each of those, target context will implement
+There's a common thing between those 2 methods. In each of those, target context will implement
`setKernel(HttpKernel $kernel)` method. This method would be automatically called **immediately after**
each context creation before each scenario. Note that this kernel will be automatically
rebooted between scenarios, so your scenarios would have almost absolutely isolated state.
@@ -108,8 +108,8 @@ $> php behat.phar @YouBundleName
## Using `symfony2` Mink session
-Symfony2Extension comes bundled with custom `symfony2` session for Mink, which is disabled
-by default. In order to use it, you should download/install/activate MinkExtension and enabling
+Symfony2Extension comes bundled with a custom `symfony2` session for Mink, which is disabled
+by default. In order to use it you should download/install/activate MinkExtension and enable
`mink_driver` in Symfony2Extension:
``` yaml
@@ -122,7 +122,7 @@ defaults:
mink_extension.phar: ~
```
-Also, you can make `symfony2` session default one by setting `default_session` option in
+Also, you can make `symfony2` session the default one by setting `default_session` option in
MinkExtension:
``` yaml