Browse Source

Add test

closed-social-glitch-2
Evan Minto 7 years ago
parent
commit
da7f24c238
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      spec/controllers/accounts_controller_spec.rb

+ 10
- 0
spec/controllers/accounts_controller_spec.rb View File

@ -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 }

Loading…
Cancel
Save