+
+ resp =
+ conn
+ |> put_req_header("content-type", "application/atom+xml")
+ |> get("/tags/pleromaart", %{"max_id" => activity2.id})
+ |> response(200)
+
+ xml = parse(resp)
+
+ assert xpath(xml, ~x"//channel/title/text()") == '#pleromaart'
+
+ assert xpath(xml, ~x"//channel/item/title/text()"l) == [
+ 'yeah #PleromaArt'
+ ]