[DRE-commits] [cucumber] 01/01: Add 0006_fix_formatter_html_spec.patch from upstream to fix bug in specs with HTML formatters (Closes: #839910)

Cédric Boutillier boutil at moszumanska.debian.org
Fri Oct 7 22:08:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository cucumber.

commit 3d55e0bf7adeacbe0c3db6efece6d7b4c27dcc64
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Oct 7 23:40:32 2016 +0200

    Add 0006_fix_formatter_html_spec.patch from upstream to fix bug in specs with HTML formatters (Closes: #839910)
---
 debian/changelog                                  |  7 +++++++
 debian/patches/0006_fix_formatter_html_spec.patch | 23 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 3 files changed, 31 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 504dc1a..1d51fa5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+cucumber (2.4.0-2) unstable; urgency=medium
+
+  * Add 0006_fix_formatter_html_spec.patch from upstream to fix bug in specs
+    with HTML formatters (Closes: #839910)
+
+ -- Cédric Boutillier <boutil at debian.org>  Fri, 07 Oct 2016 23:40:14 +0200
+
 cucumber (2.4.0-1) unstable; urgency=medium
 
   [ Stefano Rivera ]
diff --git a/debian/patches/0006_fix_formatter_html_spec.patch b/debian/patches/0006_fix_formatter_html_spec.patch
new file mode 100644
index 0000000..facfc54
--- /dev/null
+++ b/debian/patches/0006_fix_formatter_html_spec.patch
@@ -0,0 +1,23 @@
+Description: fix failing spec with HTML Formatter
+From: Matt Wynne <matt at mattwynne.net>
+Origin: https://github.com/cucumber/cucumber-ruby/commit/25d2ca520129e25cf6c033f9e7a84a7e3f582de0.patch
+Bug-Debian: http://bugs.debian.org/839910
+Last-Update: 2016-07-02
+Reviewed-by: Cédric Boutillier <boutil at debian.org>
+
+---
+ spec/cucumber/formatter/html_spec.rb | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+--- a/spec/cucumber/formatter/html_spec.rb
++++ b/spec/cucumber/formatter/html_spec.rb
+@@ -31,8 +31,7 @@
+ 
+       describe "when writing the report to a file" do
+         before(:each) do
+-          allow(@out).to receive(:respond_to?).with(:path, false).and_return(true)
+-          expect(@out).to receive(:respond_to?).with(:path).and_return(true)
++          allow(@out).to receive(:respond_to?).with(:path).and_return(true)
+           expect(@out).to receive(:path).and_return('out/file.html')
+           run_defined_feature
+           @doc = Nokogiri.HTML(@out.string)
diff --git a/debian/patches/series b/debian/patches/series
index 9599c87..13cca53 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0004-Update_default_binary_path.patch
 0005-clean_bin_cucumber.patch
+0006_fix_formatter_html_spec.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/cucumber.git



More information about the Pkg-ruby-extras-commits mailing list