method

hash_not_including

rspec latest stable - Class: Spec::Mocks::ArgumentMatchers
hash_not_including(*args)
public

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