mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-25 07:37:08 +09:00
20 lines
412 B
Ruby
20 lines
412 B
Ruby
|
require 'rails_helper'
|
||
|
|
||
|
RSpec.describe ActivityPub::OutboxesController, type: :controller do
|
||
|
let!(:account) { Fabricate(:account) }
|
||
|
|
||
|
before do
|
||
|
Fabricate(:status, account: account)
|
||
|
end
|
||
|
|
||
|
describe 'GET #show' do
|
||
|
before do
|
||
|
get :show, params: { account_username: account.username }
|
||
|
end
|
||
|
|
||
|
it 'returns http success' do
|
||
|
expect(response).to have_http_status(:success)
|
||
|
end
|
||
|
end
|
||
|
end
|