Use Sidekiq fake! instead of inline! in specs (#25369)
This commit is contained in:
@@ -47,7 +47,7 @@ RSpec.describe ActivityPub::Activity::Delete do
|
||||
expect(Status.find_by(id: status.id)).to be_nil
|
||||
end
|
||||
|
||||
it 'sends delete activity to followers of rebloggers' do
|
||||
it 'sends delete activity to followers of rebloggers', :sidekiq_inline do
|
||||
expect(a_request(:post, 'http://example.com/inbox')).to have_been_made.once
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user