1
0

host_meta_request_spec.rb 328 B

1234567891011121314
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe 'The host_meta route' do
  4. describe 'requested without accepts headers' do
  5. it 'returns an xml response' do
  6. get host_meta_url
  7. expect(response).to have_http_status(200)
  8. expect(response.media_type).to eq 'application/xrd+xml'
  9. end
  10. end
  11. end