Accept a function for ExpectBody to allow custom body checking. #55

Merged
merged 1 commit into from Mar 16, 2015

Conversation

Projects
None yet
3 participants
Member

mhilton commented Mar 16, 2015

If AssertJSONRequest has an ExpectBody that is of type BodyAsserter then this will be called to check the response.

Owner

urosj commented Mar 16, 2015

👍

Owner

rogpeppe commented Mar 16, 2015

LGTM

mhilton added a commit that referenced this pull request Mar 16, 2015

Merge pull request #55 from mhilton/json-assert-body-function
Accept a function for ExpectBody to allow custom body checking.

@mhilton mhilton merged commit b93c382 into juju:master Mar 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment