# File lib/rspec/mocks/proxy.rb, line 13 def 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::space.add(nil) unless RSpec::Mocks::space.nil? end