1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 14:29:03 +09:00
YuruToot/spec/support/response_encoders.rb
2024-10-03 13:10:27 +00:00

5 lines
139 B
Ruby

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