module RSpec::Mocks::Syntax
def self.warn_unless_should_configured(method_name)
- Api: - private
def self.warn_unless_should_configured(method_name) if @warn_about_should RSpec.deprecate( "Using `#{method_name}` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax", :replacement => "the new `:expect` syntax or explicitly enable `:should`" ) @warn_about_should = false end end