test/aitch/response/xml_response_test.rb in aitch-1.2.1 vs test/aitch/response/xml_response_test.rb in aitch-1.2.2

- old
+ new

@@ -5,10 +5,10 @@ class XmlResponseTest < Minitest::Test test "detects as xml" do register_uri(:get, "http://example.org/", body: "[]", content_type: "application/xml") response = Aitch.get("http://example.org/") - assert response.xml? + assert_predicate response, :xml? end test "returns xml" do register_uri(:get, "http://example.org/", body: "<foo/>", content_type: "application/xml") response = Aitch.get("http://example.org/")