I am a bit at a loss as to how to write a RSpec 3.2.x spec that checks wether a list contains at least one item that satisfies a condition.
Here is an example:
Try this
expect(changes).to be_any{ |x| //logic to match }