[DRE-commits] [ruby-fuubar] 03/06: Add patch 0001-Use-color-output-in-tests.patch
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Thu Jun 4 16:33:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository ruby-fuubar.
commit 8969e5de38daa25f6d139c835f73ec41fab18ef0
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Thu Jun 4 19:15:39 2015 +0300
Add patch 0001-Use-color-output-in-tests.patch
---
.../patches/0001-Use-color-output-in-tests.patch | 24 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/0001-Use-color-output-in-tests.patch b/debian/patches/0001-Use-color-output-in-tests.patch
new file mode 100644
index 0000000..29597f5
--- /dev/null
+++ b/debian/patches/0001-Use-color-output-in-tests.patch
@@ -0,0 +1,24 @@
+From: Hleb Valoshka <Hleb Valoshka 375gnu at 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
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f5f6c8a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-color-output-in-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fuubar.git
More information about the Pkg-ruby-extras-commits
mailing list