module RSpec::Matchers::DSL::Macros::Deprecated

def failure_message_for_should(&definition)

Deprecated:
  • Use {Macros#failure_message} instead.
def failure_message_for_should(&definition)
  RSpec.deprecate("`failure_message_for_should`", :replacement => "`failure_message`")
  failure_message(&definition)
end

def failure_message_for_should_not(&definition)

Deprecated:
  • Use {Macros#failure_message_when_negated} instead.
def failure_message_for_should_not(&definition)
  RSpec.deprecate("`failure_message_for_should_not`", :replacement => "`failure_message_when_negated`")
  failure_message_when_negated(&definition)
end

def match_for_should(&definition)

Deprecated:
  • Use {Macros#match} instead.
def match_for_should(&definition)
  RSpec.deprecate("`match_for_should`", :replacement => "`match`")
  match(&definition)
end

def match_for_should_not(&definition)

Deprecated:
  • Use {Macros#match_when_negated} instead.
def match_for_should_not(&definition)
  RSpec.deprecate("`match_for_should_not`", :replacement => "`match_when_negated`")
  match_when_negated(&definition)
end