module RSpec::Expectations::Syntax
def disable_expect(syntax_host=::RSpec::Matchers)
- Api: - private
def disable_expect(syntax_host=::RSpec::Matchers) return unless expect_enabled?(syntax_host) syntax_host.module_exec do undef expect end end
def disable_expect(syntax_host=::RSpec::Matchers) return unless expect_enabled?(syntax_host) syntax_host.module_exec do undef expect end end