rubysec/bundler-audit

Fix specs due to new thor 1.1.0

postmodern opened this issue · 2 comments

Specs suddenly began failing after thor 1.1.0 was released. Likely thor's new internal behavior is breaking our expect().to receive() stubs that we use to populate CLI's options.

It also appears that Thor 1.1.0 now disables all output if --quiet is specified. To get around this, we'll want to use error to output error messages. Although, error doesn't seem to support ANSI color output or highlight it's output as red by default.

Fixed in 2eea927 and 2488b18.