mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 15:24:14 +00:00
Add test
This commit is contained in:
parent
3fa5d05997
commit
da7f24c238
|
@ -24,6 +24,16 @@ RSpec.describe AccountsController, type: :controller do
|
||||||
end
|
end
|
||||||
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
|
context 'html' do
|
||||||
before do
|
before do
|
||||||
get :show, params: { username: alice.username }
|
get :show, params: { username: alice.username }
|
||||||
|
|
Loading…
Reference in a new issue