Fix tests

This commit is contained in:
Eugen Rochko
2016-08-18 17:13:41 +02:00
parent 6deb9f966e
commit 6426819b6f
6 changed files with 18 additions and 6 deletions

View File

@ -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