mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
137100dcf3
* Add request spec for host meta route returning xml * Add routing spec for xrd routes * Update well-known routes * Move webfinger and host-meta actions to their own controllers
14 lines
262 B
Ruby
14 lines
262 B
Ruby
require 'rails_helper'
|
|
|
|
describe WellKnown::HostMetaController, type: :controller do
|
|
render_views
|
|
|
|
describe 'GET #show' do
|
|
it 'returns http success' do
|
|
get :show, format: :xml
|
|
|
|
expect(response).to have_http_status(:success)
|
|
end
|
|
end
|
|
end
|