Fix tests
This commit is contained in:
parent
6deb9f966e
commit
6426819b6f
6 changed files with 18 additions and 6 deletions
|
@ -54,6 +54,10 @@ class FanOutOnWriteService < BaseService
|
|||
def current_user
|
||||
@account.user
|
||||
end
|
||||
|
||||
def current_account
|
||||
@account
|
||||
end
|
||||
end
|
||||
|
||||
Rabl::Renderer.new('api/statuses/show', status, view_path: 'app/views', format: :json, scope: rabl_scope.new(receiver)).render
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue