Revert "spec: Enable webmock connect to IPv4 link-local"

This reverts commit e485f3956f.

Reason for revert:
This module does not use compile method in unit tests.

Change-Id: Icea1d0482a98fcc54c023b6eb7116ae4612617b4
This commit is contained in:
Takashi Kajinami 2023-10-02 23:12:55 +09:00
parent d53422469f
commit 7f4b153200
1 changed files with 0 additions and 4 deletions

View File

@ -3,14 +3,10 @@ $LOAD_PATH.push(File.join(File.dirname(__FILE__), 'fixtures', 'modules', 'inifil
$LOAD_PATH.push(File.join(File.dirname(__FILE__), 'fixtures', 'modules', 'openstacklib', 'lib'))
require 'puppetlabs_spec_helper/module_spec_helper'
require 'shared_examples'
require 'webmock/rspec'
require 'puppet-openstack_spec_helper/facts'
fixture_path = File.expand_path(File.join(File.dirname(__FILE__), 'fixtures'))
# LP1492636 - Cohabitation of compile matcher and webmock
WebMock.disable_net_connect!(:allow => "169.254.169.254")
RSpec.configure do |c|
c.alias_it_should_behave_like_to :it_configures, 'configures'
c.alias_it_should_behave_like_to :it_raises, 'raises'