I\'ve got a JSON structure that I\'d like to match a single nested element in, while ignoring other data. The JSON looks like this (minimally):
{ \"employee\":
With rspec 3.6.0, this works for me:
expect(subject).to match(a_hash_including(key: value))