Yep. If the order of the messages in the Arrays is not stable, you might go one step further and do `double_json["non_existent_cookbooks"].should =~ ["this_does_not_exist", "double_rainbow"]` -- if you weren't aware already `=~` does order-insensitive collection matching (though it does not appear that any of tests have multiple "bad" cookbooks of the same "badness" type).