class RSpec::Matchers::BuiltIn::HaveAttributes

def respond_to_attributes?

def respond_to_attributes?
  matches = respond_to_matcher.matches?(@actual)
  @respond_to_failed = !matches
  matches
end