diff --git a/oa-basic/spec/spec_helper.rb b/oa-basic/spec/spec_helper.rb index 8f7c63f..e1a3e26 100644 --- a/oa-basic/spec/spec_helper.rb +++ b/oa-basic/spec/spec_helper.rb @@ -8,3 +8,5 @@ include Rack::Test::Methods include WebMock require 'omniauth/basic' + +WebMock.disable_net_connect! diff --git a/oa-core/spec/spec_helper.rb b/oa-core/spec/spec_helper.rb index e7087c6..84fcb0a 100644 --- a/oa-core/spec/spec_helper.rb +++ b/oa-core/spec/spec_helper.rb @@ -11,3 +11,5 @@ Spec::Runner.configure do |config| config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, :type => :strategy end + +WebMock.disable_net_connect! diff --git a/oa-enterprise/spec/spec_helper.rb b/oa-enterprise/spec/spec_helper.rb index 65eca1f..49aea21 100644 --- a/oa-enterprise/spec/spec_helper.rb +++ b/oa-enterprise/spec/spec_helper.rb @@ -14,3 +14,5 @@ Spec::Runner.configure do |config| config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, :type => :strategy end + +WebMock.disable_net_connect! diff --git a/oa-oauth/spec/spec_helper.rb b/oa-oauth/spec/spec_helper.rb index c7f8616..867d172 100644 --- a/oa-oauth/spec/spec_helper.rb +++ b/oa-oauth/spec/spec_helper.rb @@ -14,3 +14,5 @@ Spec::Runner.configure do |config| config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, :type => :strategy end + +WebMock.disable_net_connect! diff --git a/oa-openid/spec/spec_helper.rb b/oa-openid/spec/spec_helper.rb index 5bc3164..8f4e1be 100644 --- a/oa-openid/spec/spec_helper.rb +++ b/oa-openid/spec/spec_helper.rb @@ -14,3 +14,5 @@ Spec::Runner.configure do |config| config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, :type => :strategy end + +WebMock.disable_net_connect!