allow_message_expectations_on_nil()public
No documentation available.
# File lib/spec/mocks/proxy.rb, line 10
def self.allow_message_expectations_on_nil
@@warn_about_expectations_on_nil = false
# ensure nil.rspec_verify is called even if an expectation is not set in the example
# otherwise the allowance would effect subsequent examples
$rspec_mocks.add(nil) unless $rspec_mocks.nil?
end