Adding public timeline
This commit is contained in:
parent
06016453bd
commit
1f650d327d
21 changed files with 229 additions and 71 deletions
|
@ -47,6 +47,13 @@ RSpec.describe Api::V1::StatusesController, type: :controller do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'GET #public' do
|
||||
it 'returns http success' do
|
||||
get :public
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'POST #create' do
|
||||
before do
|
||||
post :create, params: { status: 'Hello world' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue