Use Sidekiq fake! instead of inline! in specs (#25369)
This commit is contained in:
@@ -87,7 +87,7 @@ RSpec.describe ReblogService, type: :service do
|
||||
expect(ActivityPub::DistributionWorker).to have_received(:perform_async)
|
||||
end
|
||||
|
||||
it 'sends an announce activity to the author' do
|
||||
it 'sends an announce activity to the author', :sidekiq_inline do
|
||||
expect(a_request(:post, bob.inbox_url)).to have_been_made.once
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user