File: 0005-no-internet-access.patch

package info (click to toggle)
ruby-excon 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,240 kB
  • sloc: ruby: 7,970; makefile: 5
file content (27 lines) | stat: -rw-r--r-- 932 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: skip tests using network access
Bug-Debian: https://bugs.debian.org/1084766
Author: Cédric Boutillier
Last-Update: 2024-12-15
Forwarded: not-needed
--- a/spec/requests/dns_timeout_spec.rb
+++ b/spec/requests/dns_timeout_spec.rb
@@ -7,7 +7,7 @@ describe Excon::Socket do
 
   before { allow(Resolv::DNS).to receive(:new).and_return(dns_resolver) }
 
-  it 'passes the dns_timeouts to Resolv::DNS::Config' do
+  xit 'passes the dns_timeouts to Resolv::DNS::Config' do
     silence_warnings do
       connection.connect
 
--- a/spec/requests/resolv_resolver_spec.rb
+++ b/spec/requests/resolv_resolver_spec.rb
@@ -11,7 +11,7 @@ describe Excon::Socket do
     allow(Resolv::DNS).to receive(:new).and_return(dns_resolver)
   end
 
-  it 'resolv_resolver config reaches Resolv::DNS::Config' do
+  xit 'resolv_resolver config reaches Resolv::DNS::Config' do
     connection.connect
 
     expect(config_timeouts).to eql([1])