Page MenuHomeSoftware Heritage

init_spec.rb
No OneTemporary

init_spec.rb

require 'spec_helper'
describe 'zookeeper', :type => :class do
let(:facts) {{
:operatingsystem => 'Debian',
:osfamily => 'Debian',
:lsbdistcodename => 'wheezy',
}}
it { should contain_class('zookeeper::config') }
it { should contain_class('zookeeper::install') }
it { should contain_class('zookeeper::service') }
it { should compile.with_all_deps }
context 'allow installing multiple packages' do
let(:user) { 'zookeeper' }
let(:group) { 'zookeeper' }
let(:params) { {
:packages => [ 'zookeeper', 'zookeeper-bin' ],
} }
it { should contain_package('zookeeper') }
it { should contain_package('zookeeper-bin') }
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Jun 4 2025, 6:34 PM (14 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398634

Event Timeline