1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: fix failing spec with HTML Formatter
From: Matt Wynne <matt@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@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)
|