(MODULES-7661) - Release prep for 3.0.0 release
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user