From 919f63609bcd8da14404dec692784d38b608b658 Mon Sep 17 00:00:00 2001 From: Dave Nash Date: Wed, 8 Apr 2015 12:20:44 +0100 Subject: [PATCH] Added example configuration --- README.md | 19 +++++++++++++++++++ .../Context/RawGuzzleContext.php | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c21618a..e8840df 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,25 @@ Guzzle extension for Behat is an integration layer between Behat 3.0+ and Guzzle * Add documentation * Add language support +## Configuration + +### Example Configuration + +``` +default: + extensions: + Behat\GuzzleExtension: + base_url: http://127.0.0.1 + service_descriptions: %paths.base%/app/config/service.json + suites: + default: + contexts: + - Behat\GuzzleExtension\Context\GuzzleContext: + users: + test.user.1: B8E...1AF + test.user.2: A6B...8E6 +``` + ## Copyright Copyright (c) 2015 Dave Nash (knasher). See LICENSE for details. diff --git a/src/Behat/GuzzleExtension/Context/RawGuzzleContext.php b/src/Behat/GuzzleExtension/Context/RawGuzzleContext.php index 78971da..dc03733 100644 --- a/src/Behat/GuzzleExtension/Context/RawGuzzleContext.php +++ b/src/Behat/GuzzleExtension/Context/RawGuzzleContext.php @@ -38,7 +38,7 @@ class RawGuzzleContext implements GuzzleAwareContext /** * @var string */ - const GUZZLE_EXTENSION_VERSION = '0.3.1'; + const GUZZLE_EXTENSION_VERSION = '0.3.2'; /** * @var Client