Merge pull request #603 from evanminto/activitypub-account

Expose ActivityStreams 2.0 representation of accounts
This commit is contained in:
Eugen authored and GitHub committed 2017-02-07 02:08:40 +01:00
commit 9d5fb49cd8
7 files changed
+30 -2

No files matched your search

@@ -24,6 +24,16 @@ RSpec.describe AccountsController, type: :controller do
end
end
context 'activitystreams2' do
before do
get :show, params: { username: alice.username }, format: 'activitystreams2'
end
it 'returns http success with Activity Streams 2.0' do
expect(response).to have_http_status(:success)
end
end
context 'html' do
before do
get :show, params: { username: alice.username }