File: 0001-Don-t-use-outdated-methods-to-setup-color-in-output.patch

package info (click to toggle)
ruby-mixlib-versioning 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 320 kB
  • sloc: ruby: 1,374; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Hleb Valoshka <375gnu@gmail.com>
Date: Tue, 12 Apr 2016 15:57:00 +0300
Subject: Don't use outdated methods to setup color in output

---
 spec/spec_helper.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 30090e3..a299012 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -28,10 +28,10 @@ RSpec.configure do |config|
   config.alias_it_should_behave_like_to :it_has_behavior, 'has behavior:'
 
   # Use color in STDOUT
-  config.color_enabled = true
+  #config.color_enabled = true
 
   # Use color not only in STDOUT but also in pagers and files
-  config.tty = true
+  #config.tty = true
 
   # run the examples in random order
   config.order = :rand