Skip to content

Documentation for allow (counterpart to stub in the expect syntax)

gitlab-qa-bot requested to merge feature_for_allow into master

Created by: JonRowe

As allow(obj).to receive(:message) is the counterpart to stub, we should document it alongside as we have done with expect(obj).to receive(:message) as a counterpart to should_receive.

Merge request reports