module RSpec::Expectations::Syntax
def disable_should(syntax_host = default_should_host)
- Api: - private
def disable_should(syntax_host = default_should_host) return unless should_enabled?(syntax_host) syntax_host.module_eval do undef should undef should_not end ::RSpec::Expectations::ExpectationTarget.disable_deprecated_should end