闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
304 B

  1. require "rails_helper"
  2. describe "The host_meta route" do
  3. describe "requested without accepts headers" do
  4. it "returns an xml response" do
  5. get host_meta_url
  6. expect(response).to have_http_status(:success)
  7. expect(response.content_type).to eq "application/xrd+xml"
  8. end
  9. end
  10. end