Fix noisy preflight checks spec
What does this merge request do and why?
This MR silences a noisy test by checking for it to output the correct error message.
How to set up and validate locally
- Run
bundle exec rspec spec/tasks/preflight_checks_spec.rb
- See only dots, no weird
error message
output anywhere in sight😌