0
0
Fork 0

Register an XML encoder for response tests (#32220)

This commit is contained in:
Matt Jankowski 2024-10-03 09:10:27 -04:00 committed by GitHub
parent d95f6f4410
commit cc8d723e71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 53 additions and 32 deletions

View file

@ -0,0 +1,4 @@
# frozen_string_literal: true
ActionDispatch::IntegrationTest
.register_encoder :xml, response_parser: ->(body) { Nokogiri::XML(body) }