
Note: the 3 changes need to be in the same commit because CI is broken at
this time.
Change #1
In Mitaka gnocchi-dbsync was moved to gnocchi-upgrade [1,2].
[1] aee5df615e
[2] https://review.openstack.org/#/c/245069/5/setup.cfg
Partial-bug: #1535382
Change #2
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
Related-Bug: #1492636
Depends-On: I3ac207f744847b5742fc331d2c16d1dad475f9ea
Change-Id: I1e88361018fbbff42cae7e57f2e039fa45eaaeb1
19 lines
560 B
Ruby
19 lines
560 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'shared_examples'
|
|
|
|
require 'puppet-openstack_spec_helper/defaults'
|
|
require 'rspec-puppet-facts'
|
|
include RspecPuppetFacts
|
|
|
|
RSpec.configure do |c|
|
|
c.alias_it_should_behave_like_to :it_configures, 'configures'
|
|
c.alias_it_should_behave_like_to :it_raises, 'raises'
|
|
# TODO(aschultz): remove this after all tests converted to use OSDefaults
|
|
# instead of referencing @default_facts
|
|
c.before :each do
|
|
@default_facts = OSDefaults.get_facts
|
|
end
|
|
end
|
|
|
|
at_exit { RSpec::Puppet::Coverage.report! }
|