File: disable-test-that-use-net.patch

package info (click to toggle)
ruby-omniauth 2.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 364 kB
  • sloc: ruby: 2,447; makefile: 7
file content (23 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Utkarsh Gupta <utkarsh@debian.org>
Date: Thu, 10 Jun 2021 09:09:10 -0300
Subject: Disable test that use internet.

Forwarded: https://github.com/omniauth/omniauth/issues/997
Last-Update: 2020-03-29
---
 spec/omniauth/strategy_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/omniauth/strategy_spec.rb b/spec/omniauth/strategy_spec.rb
index 7ee82c7..c79055a 100644
--- a/spec/omniauth/strategy_spec.rb
+++ b/spec/omniauth/strategy_spec.rb
@@ -275,7 +275,7 @@ describe OmniAuth::Strategy do
   end
 
   describe '#redirect' do
-    it 'uses javascript if :iframe is true' do
+    xit 'uses javascript if :iframe is true' do
       response = ExampleStrategy.new(app, :iframe => true).redirect('http://abc.com')
       expected_body = "<script type='text/javascript' charset='utf-8'>top.location.href = 'http://abc.com';</script>"