module Rspec::Mocks::ArgumentMatchers

def hash_not_including(*args)

Passes if the argument is a hash that doesn't include the specified key(s) or key/value

object.should_receive(:message).with(hash_not_including(:key, :key2 => :val2))
object.should_receive(:message).with(hash_not_including(:key))
object.should_receive(:message).with(hash_not_including(:key => val))
:call-seq:
def hash_not_including(*args)
  HashNotIncludingMatcher.new(anythingize_lonely_keys(*args))
end