class RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher

def ==(actual)

def ==(actual)
  @expected.all? {|k,v| actual.has_key?(k) && v == actual[k]}
rescue NoMethodError
  false
end

def description

def description
  "hash_including(#{@expected.inspect.sub(/^\{/,"").sub(/\}$/,"")})"
end

def initialize(expected)

def initialize(expected)
  @expected = expected
end