mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-14 10:54:27 +00: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
|