Use Sidekiq fake!
instead of inline!
in specs (#25369)
This commit is contained in:
parent
ea1c0feb86
commit
00341c70ff
53 changed files with 66 additions and 76 deletions
|
@ -62,7 +62,7 @@ RSpec.describe DeleteAccountService, type: :service do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#call on local account' do
|
||||
describe '#call on local account', :sidekiq_inline do
|
||||
before do
|
||||
stub_request(:post, remote_alice.inbox_url).to_return(status: 201)
|
||||
stub_request(:post, remote_bob.inbox_url).to_return(status: 201)
|
||||
|
@ -83,7 +83,7 @@ RSpec.describe DeleteAccountService, type: :service do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#call on remote account' do
|
||||
describe '#call on remote account', :sidekiq_inline do
|
||||
before do
|
||||
stub_request(:post, account.inbox_url).to_return(status: 201)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue