method

allow_message_expectations_on_nil

Importance_1
allow_message_expectations_on_nil() public

Disables warning messages about expectations being set on nil.

By default warning messages are issued when expectations are set on nil. This is to prevent false-positives and to catch potential bugs early on.

Show source
Register or log in to add new notes.