Use Sidekiq fake! instead of inline! in specs (#25369)
This commit is contained in:
@@ -31,7 +31,7 @@ RSpec.describe BlockService, type: :service do
|
||||
expect(sender.blocking?(bob)).to be true
|
||||
end
|
||||
|
||||
it 'sends a block activity' do
|
||||
it 'sends a block activity', :sidekiq_inline do
|
||||
expect(a_request(:post, 'http://example.com/inbox')).to have_been_made.once
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user