Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.8
rubygem-webmock
webmock-2.3.2-Some-tests-require-network-connec...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webmock-2.3.2-Some-tests-require-network-connectivity.patch of Package rubygem-webmock
From dba98127443791ae02f2caee19f84f1c41dea654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> Date: Tue, 7 Feb 2017 10:02:11 +0100 Subject: [PATCH] Some tests require network connectivity. --- spec/acceptance/httpclient/httpclient_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/httpclient/httpclient_spec.rb b/spec/acceptance/httpclient/httpclient_spec.rb index 5a367e9..dc1b128 100644 --- a/spec/acceptance/httpclient/httpclient_spec.rb +++ b/spec/acceptance/httpclient/httpclient_spec.rb @@ -182,7 +182,7 @@ describe "HTTPClient" do end end - context 'httpclient streams response' do + context 'httpclient streams response', net_connect: true do before do WebMock.allow_net_connect! WebMock.after_request(except: [:other_lib]) do |_, response| @@ -199,7 +199,7 @@ describe "HTTPClient" do end end - context 'credentials' do + context 'credentials', net_connect: true do it 'are detected when manually specifying Authorization header' do stub_request(:get, 'username:password@www.example.com').to_return(status: 200) headers = {'Authorization' => 'Basic dXNlcm5hbWU6cGFzc3dvcmQ='} -- 2.11.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor