[DRE-commits] [ruby-httparty] 02/07: skip all old patches, add skip_failing_test.patch

Cédric Boutillier boutil at moszumanska.debian.org
Sun May 24 22:46:23 UTC 2015


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

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

commit 0399fc0d5ef6d70e1e39bb662a868315fb9fccfd
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon May 25 00:17:21 2015 +0200

    skip all old patches, add skip_failing_test.patch
---
 debian/patches/series                  |  7 +------
 debian/patches/skip_failing_test.patch | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index a6d2080..bc3ea45 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1 @@
-clean_spec_helper.patch
-newer_rspec.patch
-deactivate_failing_test.patch
-#fix_rspec_deprecation_warning.patch
-exception_spec.patch
-spec_convert_nil_to_empty_string.patch
+skip_failing_test.patch
diff --git a/debian/patches/skip_failing_test.patch b/debian/patches/skip_failing_test.patch
new file mode 100644
index 0000000..5bdc709
--- /dev/null
+++ b/debian/patches/skip_failing_test.patch
@@ -0,0 +1,17 @@
+Description: deactivate failing test
+Author: Cédric Boutillier <boutil at debian.org>
+Origin: vendor
+Forwarded: no
+Last-Update: 2015-05-24
+
+--- a/spec/httparty/request_spec.rb
++++ b/spec/httparty/request_spec.rb
+@@ -444,7 +444,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>")

-- 
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