I would probably just add `expect(out).to_not match(/ambiguous command/i)` or whatever is appropriate.