Package: ruby-fuubar / 2.0.0-2

0001-Use-color-output-in-tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Hleb Valoshka <Hleb Valoshka 375gnu@gmail.com>
Date: Thu, 4 Jun 2015 19:15:30 +0300
Subject: Use color output in tests

---
 spec/fuubar_spec.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/spec/fuubar_spec.rb b/spec/fuubar_spec.rb
index ee1b7de..31a63ca 100644
--- a/spec/fuubar_spec.rb
+++ b/spec/fuubar_spec.rb
@@ -2,6 +2,11 @@ require 'fuubar'
 require 'stringio'
 require 'ostruct'
 
+RSpec.configure do |config|
+  config.color = true
+  config.tty = true
+end
+
 describe Fuubar do
   let(:output) do
     io = StringIO.new