Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gist
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Ruby Team
gist
Commits
f5f0bc11
Commit
f5f0bc11
authored
3 years ago
by
Utkarsh Gupta
Browse files
Options
Downloads
Patches
Plain Diff
Add patch to skip test when HTTP_PROXY isn't set
parent
6b4eff49
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/disable-test-when-HTTP_PROXY-is-not-set.patch
+18
-0
18 additions, 0 deletions
debian/patches/disable-test-when-HTTP_PROXY-is-not-set.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
19 additions
and
0 deletions
debian/patches/disable-test-when-HTTP_PROXY-is-not-set.patch
0 → 100644
+
18
−
0
View file @
f5f0bc11
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
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
f5f0bc11
rename
gemspec-no-git
mochafix
disable-test-when-HTTP_PROXY-is-not-set.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment