allow(logger).toreceive(:warn).with(/is not completed/)
allow(logger).toreceive(:warn).with(/is not completed/)
allow(logger).toreceive(:warn).with(/is incomplete but status should be complete/)
allow(logger).toreceive(:warn).with(/is incomplete but status should be complete/)
expect(logger).toreceive(:warn).with(/The following case logs had status discrepancies: \[893ufj2s-lq77-42m4-rty6-ej09gh585uy1, 5ybz29dj-l33t-k1l0-hj86-n4k4ma77xkcd\]/).exactly(1).times
expect(logger).toreceive(:warn).with(/The following case logs had status discrepancies: \[893ufj2s-lq77-42m4-rty6-ej09gh585uy1, 5ybz29dj-l33t-k1l0-hj86-n4k4ma77xkcd\]/).once