
Convert the rest of the tests to leverage rspec-puppet-facts Change-Id: Ic2c20516f73214f790ac9ed9fd4a773ee9d5f6af
19 lines
350 B
Ruby
19 lines
350 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'manila::params' do
|
|
|
|
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({ :fqdn => 'some.host.tld'}))
|
|
end
|
|
it 'should compile' do
|
|
subject
|
|
end
|
|
end
|
|
end
|
|
|
|
end
|