Browse Source

drop mock dependency

mock is not used anywhere in the module, let's drop it.
This patch will help to hit this bug:
https://launchpad.net/bugs/1492636

Change-Id: Ia4f85ce2088759ec6e07bda994f0c011a0886b36
changes/17/271317/1
Emilien Macchi 6 years ago
parent
commit
a7f568f555
  1. 1
      Gemfile
  2. 2
      spec/classes/aodh_evaluator_spec.rb
  3. 2
      spec/classes/aodh_listener_spec.rb
  4. 2
      spec/classes/aodh_notifier_spec.rb
  5. 1
      spec/spec_helper.rb

1
Gemfile

@ -14,7 +14,6 @@ group :development, :test do
gem 'puppet-lint-variable_contains_upcase', :require => 'false'
gem 'puppet-lint-numericvariable', :require => 'false'
gem 'json', :require => 'false'
gem 'webmock', :require => 'false'
gem 'puppet-openstack_spec_helper',
:git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
:require => false

2
spec/classes/aodh_evaluator_spec.rb

@ -1,6 +1,4 @@
require 'spec_helper'
# LP1492636 - Cohabitation of compile matcher and webmock
WebMock.disable_net_connect!(:allow => "169.254.169.254")
describe 'aodh::evaluator' do

2
spec/classes/aodh_listener_spec.rb

@ -1,6 +1,4 @@
require 'spec_helper'
# LP1492636 - Cohabitation of compile matcher and webmock
WebMock.disable_net_connect!(:allow => "169.254.169.254")
describe 'aodh::listener' do

2
spec/classes/aodh_notifier_spec.rb

@ -1,6 +1,4 @@
require 'spec_helper'
# LP1492636 - Cohabitation of compile matcher and webmock
WebMock.disable_net_connect!(:allow => "169.254.169.254")
describe 'aodh::notifier' do

1
spec/spec_helper.rb

@ -1,6 +1,5 @@
require 'puppetlabs_spec_helper/module_spec_helper'
require 'shared_examples'
require 'webmock/rspec'
require 'rspec-puppet-facts'
require 'puppet-openstack_spec_helper/defaults'

Loading…
Cancel
Save