From 279093e2802b898f8b19ffa5ace53963e3265f3a Mon Sep 17 00:00:00 2001 From: "makoto.matsumoto" Date: Tue, 20 Aug 2019 10:02:43 +0900 Subject: [PATCH] Fix Auth0::RequestTimeout --- spec/lib/auth0/mixins/httpproxy_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/auth0/mixins/httpproxy_spec.rb b/spec/lib/auth0/mixins/httpproxy_spec.rb index a33af70c..75c185a3 100644 --- a/spec/lib/auth0/mixins/httpproxy_spec.rb +++ b/spec/lib/auth0/mixins/httpproxy_spec.rb @@ -67,7 +67,7 @@ end it "should raise Auth0::RequestTimeout on send http #{http_method} method - to path defined through HTTP when 408 status received" do + to path defined through HTTP when RestClient::RequestTimeout received" do allow(RestClient::Request).to receive(:execute).with(method: http_method, url: '/test', timeout: nil, @@ -242,7 +242,7 @@ end it "should raise Auth0::RequestTimeout on send http #{http_method} method - to path defined through HTTP when 408 status received" do + to path defined through HTTP when RestClient::RequestTimeout received" do allow(RestClient::Request).to receive(:execute).with(method: http_method, url: '/test', timeout: nil,