summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2018-08-15 01:39:59 +0200
committerGabriel Mazetto <brodock@gmail.com>2018-08-16 21:31:19 +0200
commit696a5fce687364ec718eeef44d923a686c9e1624 (patch)
tree040b44779ce36d21df32adc13d909942ed15ec37 /spec/spec_helper.rb
parent010fbedb61334a303d26164de905d9d421871ff2 (diff)
downloadgitlab-ce-696a5fce687364ec718eeef44d923a686c9e1624.tar.gz
Refactor Rainbow usage in specs
We don't test any specific string generated by it yet, so there is no point in keeping it enabled when we are disabling it everywhere we test its output.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f4441a6b700..a15a46a9534 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -29,6 +29,7 @@ end
# require rainbow gem String monkeypatch, so we can test SystemChecks
require 'rainbow/ext/string'
+Rainbow.enabled = false
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.