class RSpec::Rails::Matchers::BaseMatcher

def description

Returns:
  • (String) -

Other tags:
    Api: - private
def description
  desc = RSpec::Matchers::EnglishPhrasing.split_words(self.class.matcher_name)
  desc << RSpec::Matchers::EnglishPhrasing.list(@expected) if defined?(@expected)
  desc
end