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

Revert inversion of pattern check in URIPattern constructor #904

Merged
merged 1 commit into from Sep 14, 2020

Conversation

leboshi
Copy link
Contributor

@leboshi leboshi commented Sep 13, 2020

Fixes #903.

This reinstates WebMock::Util::URI.normalize_uri as the default fallback behavior of the constructor, specifically whitelisting callable objects, in addition to the classes that were previously whitelisted, to pass through unchanged.

Also corrected descriptions of some existing specs that didn't match tested behavior.

Fixes bblimke#903.

This reinstates `WebMock::Util::URI.normalize_uri` as the default fallback behavior of the constructor, specifically whitelisting callable objects, in addition to the classes that were previously whitelisted, to pass through unchanged.
@bblimke
Copy link
Owner

bblimke commented Sep 14, 2020

Hi @leboshi Thank you for the detailed explanation and a PR well covered with tests 👍

@bblimke bblimke merged commit c4f4f1f into bblimke:master Sep 14, 2020
@bblimke
Copy link
Owner

bblimke commented Sep 14, 2020

It's now released as 3.9.1

@leboshi
Copy link
Contributor Author

leboshi commented Sep 14, 2020

Thank YOU for the fast merge and re-release!

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.

Stubbed URI no longer equivalent to stubbed string in RSpec
2 participants