host_meta_request_spec.rb 299 B

123456789101112
  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(200)
  7. expect(response.content_type).to eq "application/xrd+xml"
  8. end
  9. end
  10. end