I'm not sure I understand your problem correctly, but maybe something a little crazy will work.
I assume your method is in the client model, so something like this might work
Client.stub_chain(:client, :execute).and_return(true)
Of course, if you have a different name, you need to customize. I'm not sure, but you can try to try.
source share