logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

host_meta_request_spec.rb (304B)


  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