mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-10 03:30:22 +00:00
Force RSpec's output to be in color
While also simplifying the configuration using the default `progress` RSpec formatter.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user