describe"#perform"doit"calls DeleteMergedBranchesService"doexpect_any_instance_of(DeleteMergedBranchesService).toreceive(:execute).and_return(true)worker.perform(project.id,project.owner.id)endit"returns false when project was not found"doexpect(worker.perform('unknown',project.owner.id)).tobe_falsyendendend