summaryrefslogtreecommitdiffstats
path: root/spec/requests
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-01 19:14:02 +0200
committerGitHub <noreply@github.com>2019-08-01 19:14:02 +0200
commit8b9d0a05337b6bcf57b51abf45e21d9474bf2684 (patch)
treecc43f34fe2c2a7f9cf05a6c479bb9d624770407b /spec/requests
parent706a48ee1f2075ffb35ad4ad9cfc2f23fffbffcb (diff)
Remove XML version of Webfinger and remove links to Atom feeds (#11460)
Fix #11453
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/webfinger_request_spec.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/requests/webfinger_request_spec.rb b/spec/requests/webfinger_request_spec.rb
index 7f9e1162e9c..48823714e20 100644
--- a/spec/requests/webfinger_request_spec.rb
+++ b/spec/requests/webfinger_request_spec.rb
@@ -12,23 +12,6 @@ describe 'The webfinger route' do
end
end
- describe 'asking for xml format' do
- it 'returns an xml response for xml format' do
- get webfinger_url(resource: alice.to_webfinger_s, format: :xml)
-
- expect(response).to have_http_status(200)
- expect(response.content_type).to eq 'application/xrd+xml'
- end
-
- it 'returns an xml response for xml accept header' do
- headers = { 'HTTP_ACCEPT' => 'application/xrd+xml' }
- get webfinger_url(resource: alice.to_webfinger_s), headers: headers
-
- expect(response).to have_http_status(200)
- expect(response.content_type).to eq 'application/xrd+xml'
- end
- end
-
describe 'asking for json format' do
it 'returns a json response for json format' do
get webfinger_url(resource: alice.to_webfinger_s, format: :json)