mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 20:45:04 +01: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
|