Add scheduled statuses (#9706)

Fix #340
This commit is contained in:
Eugen Rochko
2019-01-05 12:43:28 +01:00
committed by GitHub
parent b17b2f25ac
commit a49d43d112
29 changed files with 437 additions and 103 deletions

View File

@ -19,7 +19,7 @@ RSpec.describe RemoveStatusService, type: :service do
jeff.follow!(alice)
hank.follow!(alice)
@status = PostStatusService.new.call(alice, 'Hello @bob@example.com')
@status = PostStatusService.new.call(alice, text: 'Hello @bob@example.com')
Fabricate(:status, account: bill, reblog: @status, uri: 'hoge')
subject.call(@status)
end