Project

General

Profile

Download (793 Bytes) Statistics
| Branch: | Tag: | Revision:
require 'spec_helper'

describe 'katello::qpid' do
on_supported_os.each do |os, facts|
context "on #{os}" do
let(:facts) { facts }

context 'with default parameters' do
it { is_expected.to compile.with_all_deps }
it { is_expected.to contain_class('certs::qpid').that_notifies(['Service[qpidd]', 'Class[qpid]']) }
it { is_expected.to create_class('qpid').with_wcache_page_size(4).with_interface('lo') }
end

context 'with overridden parameters' do
let :params do
{
wcache_page_size: 8,
}
end

it 'should pass the variable' do
is_expected.to compile.with_all_deps
is_expected.to create_class('qpid').with_wcache_page_size(8)
end
end
end
end
end
(7-7/8)