File: skip-HTTP_rb-tests.patch

package info (click to toggle)
ruby-webmock 3.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,152 kB
  • sloc: ruby: 12,425; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Ignore tests for HTTP.rb backend
 It is not available in Debian yet.
Author: Antonio Terceiro <terceiro@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2016-01-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/acceptance/http_rb/http_rb_spec.rb
+++ b/spec/acceptance/http_rb/http_rb_spec.rb
@@ -70,4 +70,4 @@ describe "HTTP.rb" do
       expect(response.uri.to_s).to eq "http://example.com/foo"
     end
   end
-end
+end if begin gem 'HTTP'; true; rescue LoadError; false; end