From 3cef261de1b85303119dbe1467a1191450e8569f Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Tue, 2 Mar 2021 15:05:53 +0100 Subject: [PATCH] Force RSpec's output to be in color While also simplifying the configuration using the default `progress` RSpec formatter. --- .rspec | 2 -- spec/spec_helper.rb | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 .rspec diff --git a/.rspec b/.rspec deleted file mode 100644 index a5a37321ba..0000000000 --- a/.rspec +++ /dev/null @@ -1,2 +0,0 @@ ---colour ---format Fuubar diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 55b6586f47..e4890e1d48 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -103,6 +103,9 @@ RSpec.configure do |config| # Only retry when Selenium raises Net::ReadTimeout config.exceptions_to_retry = [Net::ReadTimeout] + # Force colored output, whether or not the output is a TTY + config.color_mode = :on + # Force use of expect (over should) config.expect_with :rspec do |expectations| expectations.syntax = :expect