You wouldn't know what attribute it was. The old line would have been pretty clear.

```ruby
expect(example_metadata[:execution_result].to_h.reject { |_, v| v.nil? } ).to eq({})
```