[DRE-commits] [ruby-webmock] 04/05: skip httpclient network test

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Apr 14 04:42:55 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-webmock.

commit 4605f33659e843d2b2251e0ce63976f3cca07634
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Apr 14 09:54:36 2014 +0530

    skip httpclient network test
---
 debian/patches/deactivate_tests_with_network.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/deactivate_tests_with_network.patch b/debian/patches/deactivate_tests_with_network.patch
index 9ad8867..ad67f31 100644
--- a/debian/patches/deactivate_tests_with_network.patch
+++ b/debian/patches/deactivate_tests_with_network.patch
@@ -23,3 +23,14 @@ Last-Update: 2013-05-24
        a = []
        WebMock.allow_net_connect!
        response = nil
+--- a/spec/acceptance/httpclient/httpclient_spec.rb
++++ b/spec/acceptance/httpclient/httpclient_spec.rb
+@@ -135,7 +135,7 @@
+       HTTPClient.new(:agent_name => user_agent).get("www.example.com")
+     end
+ 
+-    it "client sends the Accept, User-Agent, and Date by default" do
++    xit "client sends the Accept, User-Agent, and Date by default" do
+       stub_request(:get, "www.example.com").with do |req|
+         req.headers["Accept"].should == "*/*"
+         req.headers["User-Agent"].should == "#{HTTPClient::DEFAULT_AGENT_NAME} #{HTTPClient::LIB_NAME}"

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



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