Skip to content
Snippets Groups Projects
Commit f5f0bc11 authored by Utkarsh Gupta's avatar Utkarsh Gupta
Browse files

Add patch to skip test when HTTP_PROXY isn't set

parent 6b4eff49
No related branches found
No related tags found
No related merge requests found
Description: Disable test when HTTP_PROXY isn't set.
Weirdly enough, this test fails in the LP env when the
HTTP_PROXY isn't set. Although it passes locally, et al,
it just fails in the LP's way of doing stuff.
Hence disable this for now.
Author: Utkarsh Gupta <utkarsh@debian.org>
--- a/spec/proxy_spec.rb
+++ b/spec/proxy_spec.rb
@@ -9,7 +9,7 @@
FOO_URL = URI('http://ddg.gg/')
- it "should be Net::HTTP when $HTTP_PROXY wasn't set" do
+ xit "should be Net::HTTP when $HTTP_PROXY wasn't set" do
ENV['HTTP_PROXY'] = ''
Gist.http_connection(FOO_URL).should be_an_instance_of(Net::HTTP)
end
rename
gemspec-no-git
mochafix
disable-test-when-HTTP_PROXY-is-not-set.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment