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

Rails 7.1 transforms request.response_body to Nokogiri class if it is HTML #190

Closed
exoego opened this issue Mar 25, 2024 · 0 comments · Fixed by #189
Closed

Rails 7.1 transforms request.response_body to Nokogiri class if it is HTML #190

exoego opened this issue Mar 25, 2024 · 0 comments · Fixed by #189
Labels
bug Something isn't working

Comments

@exoego
Copy link
Owner

exoego commented Mar 25, 2024

https://guides.rubyonrails.org/7_1_release_notes.html#extend-response-parsed-body-to-parse-html-with-nokogiri
image

Rails 7.1 turns HTML response_body into Nokogiri classes, which is not supported in

else
raise NotImplementedError, "type detection is not implemented for: #{value.inspect}"
end

This is initially reported by @rhiroe in https://github.com/rhiroe/try-rspec-openapi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant