[DRE-commits] [ruby-httparty] 04/10: Refresh skip_failing_test.patch

Cédric Boutillier boutil at moszumanska.debian.org
Sat Nov 25 21:37:31 UTC 2017


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

boutil pushed a commit to branch master
in repository ruby-httparty.

commit d23faca121d044d1a40d407b7d695028f261bca9
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Nov 25 10:40:49 2017 +0100

    Refresh skip_failing_test.patch
---
 debian/patches/skip_failing_test.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/skip_failing_test.patch b/debian/patches/skip_failing_test.patch
index c80284c..8a888bf 100644
--- a/debian/patches/skip_failing_test.patch
+++ b/debian/patches/skip_failing_test.patch
@@ -2,16 +2,16 @@ Description: deactivate failing test
 Author: Cédric Boutillier <boutil at debian.org>
 Origin: vendor
 Forwarded: no
-Last-Update: 2016-08-27
+Last-Update: 2017-11-25
 
 --- a/spec/httparty/request_spec.rb
 +++ b/spec/httparty/request_spec.rb
-@@ -470,7 +470,7 @@
+@@ -569,7 +569,7 @@
            expect(response.parsed_response).to eq({"hash" => {"foo" => "bar"}})
          end
  
 -        it "calls block given to perform with each redirect" do
 +        xit "calls block given to perform with each redirect" do
            @request = HTTParty::Request.new(Net::HTTP::Get, 'http://test.com/redirect', format: :xml)
-           FakeWeb.register_uri(:get, "http://test.com/redirect", status: [300, "REDIRECT"], location: "http://api.foo.com/v2")
-           FakeWeb.register_uri(:get, "http://api.foo.com/v2", body: "<hash><foo>bar</foo></hash>")
+           stub_request(:get, 'http://test.com/redirect')
+             .to_return(

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



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