Set correct content-type for ActivityPub JSON (#4592)
This commit is contained in:
parent
4e75f0d889
commit
6df8bd277b
9 changed files with 16 additions and 8 deletions
|
@ -48,6 +48,10 @@ RSpec.describe AccountsController, type: :controller do
|
|||
it 'returns http success with Activity Streams 2.0' do
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
|
||||
it 'returns application/activity+json' do
|
||||
expect(response.content_type).to eq 'application/activity+json'
|
||||
end
|
||||
end
|
||||
|
||||
context 'html' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue