require 'rails_helper'
RSpec.describe Api::StatusesController, type: :controller do
let(:user) { Fabricate(:user, account: Fabricate(:account, username: 'alice')) }
let(:token) { double acceptable?: true, resource_owner_id: user.id }
before do
allow(controller).to receive(:doorkeeper_token) { token }
end
describe 'GET #show' do
let(:status) { Fabricate(:status, account: user.account) }
it 'returns http success' do
get :show, params: { id: status.id }
expect(response).to have_http_status(:success)
describe 'GET #home' do
it 'returns http success'
describe 'GET #mentions' do
describe 'POST #create' do
describe 'POST #reblog' do
describe 'POST #favourite' do