class RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
def ==(actual)
def ==(actual) @expected.each do | key, value | return false unless actual.has_key?(key) && value == actual[key] end true rescue NoMethodError => ex return false end
def description
def description "hash_including(#{@expected.inspect.sub(/^\{/,"").sub(/\}$/,"")})" end
def initialize(expected)
def initialize(expected) @expected = expected end