(MODULES-7661) - Release prep for 3.0.0 release

This commit is contained in:
Eimhin Laverty
2018-08-13 14:55:23 +01:00
parent 016772c800
commit b0e6bc6d84
11 changed files with 421 additions and 13 deletions

View File

@@ -34,3 +34,12 @@ RSpec.configure do |c|
Puppet.settings[:strict] = :warning
end
end
def ensure_module_defined(module_name)
module_name.split('::').reduce(Object) do |last_module, next_module|
last_module.const_set(next_module, Module.new) unless last_module.const_defined?(next_module)
last_module.const_get(next_module)
end
end
# 'spec_overrides' from sync.yml will appear below this line