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 was wondering, is there a way to set up the mocks in such a way that they return a different response every time an API call is mocked.
In rspec for example, we can specify different return values for multiple calls:
allow(dbl).to receive(:foo).and_return(1, 2, 3)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was wondering, is there a way to set up the mocks in such a way that they return a different response
every time an API call is mocked.
In rspec for example, we can specify different return values for multiple calls:
The text was updated successfully, but these errors were encountered: