Skip to content

Commit

Permalink
Bump mininum version of behat to 2.4.0 and uses double-quoted arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sroze committed Nov 23, 2017
1 parent e490b8c commit 6e39bf4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

"require": {
"php": ">=5.3.3",
"behat/behat": "~3.0,>=3.0.4",
"behat/behat": "~3.4.0",
"symfony/framework-bundle": "~2.0|~3.0|~4.0"
},

Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ argument of the :code:`FeatureContext` context.
default:
contexts:
- FeatureContext:
simpleArg: '%%kernel.environment%%'
simpleArg: '%%%%kernel.environment%%%%'
session: '@session'
extensions:
Behat\Symfony2Extension: ~
Expand Down
14 changes: 7 additions & 7 deletions testapp/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ default:
type: symfony_bundle
contexts:
- Behat\Sf2DemoBundle\Features\Context\WebContext:
simpleParameter: "%%custom_app%%"
simpleParameter: "%%%%custom_app%%%%"
simpleArg: 'string'
session: '@session'
services:
- '@session'
- '@session.storage.filesystem'
params:
- "%%kernel.root_dir%%"
- "%%kernel.environment%%"
- "%%kernel.debug%%"
- "%%kernel.name%%"
nestedParam: 'nested_parameter_%%custom_app%%'
collectionParam: '%%collection_param%%'
- "%%%%kernel.root_dir%%%%"
- "%%%%kernel.environment%%%%"
- "%%%%kernel.debug%%%%"
- "%%%%kernel.name%%%%"
nestedParam: 'nested_parameter_%%%%custom_app%%%%'
collectionParam: '%%%%collection_param%%%%'
bundle: 'BehatSf2DemoBundle'
filters:
tags: '@web'

0 comments on commit 6e39bf4

Please sign in to comment.