How to prevent RSpec from abbreviating match_array output?
问题 I have just noticed that RSpec's match_array is abbreviating the error response. e.g., expected collection contained: [beginning, of, the, array....end, of, the, array] This did not use to be the case. Previously the output displayed the entire array contents, making it easier to identify what is causing the problem. It has been some time since I've had a failing match_array in these tests, so I'm not sure what has changed. Is there a setting to provide a more verbose match_array message? 回答1