Skip to content

Update with_mocked_responses to use new name in docs #715

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

jansim
Copy link
Contributor

@jansim jansim commented Apr 4, 2025

The docs for with_mocked_responses still use with_mock in the examples / return values, which had me confused for a moment when using these today.

I think it makes sense to use the non-deprecated name instead? This PR replaces with_mock with with_mocked_responses in the roxygen comments.

@jansim jansim marked this pull request as ready for review April 4, 2025 00:50
@hadley
Copy link
Member

hadley commented Apr 4, 2025

Oops, good catch, thanks!

@hadley hadley merged commit 19d57be into r-lib:main Apr 4, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants