Pattern: Message expectation with configured response
Issue: -
Checks that message expectations do not have a configured response.
# bad
expect(foo).to receive(:bar).with(42).and_return("hello world")
# good (without spies)
allow(foo).to receive(:bar).with(42).and_return("hello world")
expect(foo).to receive(:bar).with(42)