a way to take care of that is to stub the invoke_all method and not set up an expectation in the top level before block or let block

```
let(:kitchen_generator) { double('kitchen-generator', invoke_all: nil) }
```