Closed
Description
In environments with no colors, it's important to be able to generate test output without color codes, otherwise the output looks like this:
|| Run options: include {:locations=>{"./spec/services/linked/url_builder_spec.rb"=>[17]}}
|| �[31mF�[0m
||
|| Failures:
||
|| 1) Linked::UrlBuilder#booking_details_url returns a url for accessing a booking with token authentication
|| �[1mFailure/Error: �[0mexpect(token).to eq("no-a-real-id")
|| Expected �[33m"not-a-real-id"�[0m to eq �[35m"no-a-real-id"�[0m.
|| �[36m# ./spec/services/linked/url_builder_spec.rb:21:in `block (3 levels) in <main>'�[0m
|| �[36m# ./spec/support/config/brand_filters.rb:47:in `block (3 levels) in <main>'�[0m
...but it seems like after adding super_diff
, we always get color in the output, even when explicitly disabled by passing the --no-color
flag to the rspec
command.