1
0
mirror of https://github.com/funamitech/mastodon synced 2025-01-05 17:33:19 +09:00
YuruToot/spec/support/response_encoders.rb

5 lines
139 B
Ruby
Raw Normal View History

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