Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with method on mock classes #160

Open
xcambar opened this issue Dec 8, 2015 · 0 comments
Open

with method on mock classes #160

xcambar opened this issue Dec 8, 2015 · 0 comments

Comments

@xcambar
Copy link
Contributor

xcambar commented Dec 8, 2015

as per #156 (comment),
add a with method that replaces withParams and allows to validate headers as well as params.

The methods accepts an object literal, the key params defines the params that must be matched and the headers key match the expected headers.

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

No branches or pull requests

2 participants