Convert to rspec-puppet-facts

Change-Id: I87cae085eb3ae0967df65522189967367f8eb72c
This commit is contained in:
Tobias Urdin
2018年11月24日 15:38:11 +01:00
parent 6d99fe20c3
commit 6eafe3052a

View File

@@ -1,15 +1,21 @@
require 'spec_helper'
describe 'oslo' do
shared_examples 'oslo' do
context 'with default parameters' do
it 'contains the logging class' do
is_expected.to contain_class('oslo::params')
end
it { should contain_class('oslo::params') }
end
end
on_supported_os({
:supported_os => OSDefaults.get_supported_os
}).each do |os,facts|
context "on #{os}" do
let (:facts) do
facts.merge!(OSDefaults.get_facts())
end
it_behaves_like 'oslo'
end
end
end
Reference in New Issue
openstack/puppet-oslo
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.