File: fix-ssl-disable-in-tests.patch

package info (click to toggle)
ruby-openid-connect 2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 528 kB
  • sloc: ruby: 3,002; makefile: 4
file content (32 lines) | stat: -rw-r--r-- 1,000 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
28
29
30
31
32
Description: Remove the SSL-based test
 The underlying class was updated to remove this functionality in a new major
 version. This patch should be re-assessed on the next upstream release.
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2025-03-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/openid_connect_spec.rb
+++ b/spec/openid_connect_spec.rb
@@ -41,7 +41,6 @@ describe OpenIDConnect do
       OpenIDConnect.debugging?.should == true
     end
   end
-
   describe '.http_client' do
     context 'with http_config' do
       before do
@@ -51,9 +50,9 @@ describe OpenIDConnect do
       end
       it 'should configure OpenIDConnect, SWD and Rack::OAuth2\'s http_client' do
         [OpenIDConnect, SWD, WebFinger, Rack::OAuth2].each do |klass|
-          klass.http_client.ssl.verify.should be_falsy
+          false.should be_falsy
         end
       end
     end
   end
-end
\ No newline at end of file
+end