Skip to content

Commit 919f636

Browse files
committed
Added example configuration
1 parent 552d675 commit 919f636

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,25 @@ Guzzle extension for Behat is an integration layer between Behat 3.0+ and Guzzle
2121
* Add documentation
2222
* Add language support
2323

24+
## Configuration
25+
26+
### Example Configuration
27+
28+
```
29+
default:
30+
extensions:
31+
Behat\GuzzleExtension:
32+
base_url: http://127.0.0.1
33+
service_descriptions: %paths.base%/app/config/service.json
34+
suites:
35+
default:
36+
contexts:
37+
- Behat\GuzzleExtension\Context\GuzzleContext:
38+
users:
39+
test.user.1: B8E...1AF
40+
test.user.2: A6B...8E6
41+
```
42+
2443
## Copyright
2544

2645
Copyright (c) 2015 Dave Nash (knasher). See LICENSE for details.

src/Behat/GuzzleExtension/Context/RawGuzzleContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class RawGuzzleContext implements GuzzleAwareContext
3838
/**
3939
* @var string
4040
*/
41-
const GUZZLE_EXTENSION_VERSION = '0.3.1';
41+
const GUZZLE_EXTENSION_VERSION = '0.3.2';
4242

4343
/**
4444
* @var Client

0 commit comments

Comments
 (0)