We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to write theses mocks and I would like the first response to be a 200 and the next 4 to be 404.
let mock_ok = mock("GET", "/next") .with_status(200) .create(); let mock_bad = mock("GET", "/next") .with_status(404) .expect(4) .create(); mock_ok.assert(); mock_bad.assert();
Is it already possible? Can it be an interesting feature?
The text was updated successfully, but these errors were encountered:
Released in 0.25.0.
Sorry, something went wrong.
No branches or pull requests
I would like to write theses mocks and I would like the first response to be a 200 and the next 4 to be 404.
Is it already possible? Can it be an interesting feature?
The text was updated successfully, but these errors were encountered: