mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07: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
13 lines
262 B
Ruby
13 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
|