Force RSpec's output to be in color

While also simplifying the configuration using the default `progress`
RSpec formatter.
This commit is contained in:
Pau Perez
2021-03-02 15:05:53 +01:00
parent 1f0b597120
commit 3cef261de1
2 changed files with 3 additions and 2 deletions

2
.rspec
View File

@@ -1,2 +0,0 @@
--colour
--format Fuubar

View File

@@ -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