Adding public following and followers pages, fix #3
This commit is contained in:
parent
c349200761
commit
71ae4dd3d2
14 changed files with 220 additions and 28 deletions
|
@ -5,12 +5,12 @@ RSpec.describe StreamEntriesController, type: :controller do
|
|||
let(:status) { Fabricate(:status, account: alice) }
|
||||
|
||||
describe 'GET #show' do
|
||||
it 'returns 200 with HTML' do
|
||||
it 'returns http success with HTML' do
|
||||
get :show, account_username: alice.username, id: status.stream_entry.id
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
|
||||
it 'returns 200 with Atom' do
|
||||
it 'returns http success with Atom' do
|
||||
get :show, account_username: alice.username, id: status.stream_entry.id, format: 'atom'
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue