Fix Style/OptionalBooleanParameter
cop (#34968)
This commit is contained in:
parent
a2a6117143
commit
dc2cfd50a0
14 changed files with 17 additions and 29 deletions
|
@ -14,7 +14,7 @@ RSpec.describe DomainBlockWorker do
|
|||
result = subject.perform(domain_block.id)
|
||||
|
||||
expect(result).to be_nil
|
||||
expect(service).to have_received(:call).with(domain_block, false)
|
||||
expect(service).to have_received(:call).with(domain_block, update: false)
|
||||
end
|
||||
|
||||
it 'returns true for non-existent domain block' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue