File: disable-network-tests.patch

package info (click to toggle)
ruby-omniauth-oauth 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 156 kB
  • ctags: 15
  • sloc: ruby: 209; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: ruby-omniauth-oauth/spec/omniauth/strategies/oauth_spec.rb
===================================================================
--- ruby-omniauth-oauth.orig/spec/omniauth/strategies/oauth_spec.rb
+++ ruby-omniauth-oauth/spec/omniauth/strategies/oauth_spec.rb
@@ -55,7 +55,7 @@ describe "OmniAuth::Strategies::OAuth" d
         expect(session["oauth"]).to eq("example.org" => {"callback_confirmed" => true, "request_token" => "yourtoken", "request_secret" => "yoursecret"})
       end
 
-      it "should pass request_params to get_request_token" do
+      xit "should pass request_params to get_request_token" do
         get "/auth/example.org_with_request_params"
         expect(WebMock).to have_requested(:post, "https://api.example.org/oauth/request_token").
           with { |req| req.body == "scope=http%3A%2F%2Ffoobar.example.org" }