fuel-library/deployment/puppet/nova/spec/classes/nova_client_spec.rb
Bogdan Dobrelya e2cbdd0649 Sync puppet-nova
109d4825e5cdd15aa529c1ef7bcccc05f6a78178 4.0.0

Partial blueprint merge-openstack-puppet-modules

Change-Id: I672620f149e4a63240144f0ce20e84b084cfd459
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2014-07-04 09:01:26 +03:00

16 lines
369 B
Ruby

require 'spec_helper'
describe 'nova::client' do
context 'with default parameters' do
it { should contain_package('python-novaclient').with_ensure('present') }
end
context 'with ensure parameter provided' do
let :params do
{ :ensure => '2012.1-2' }
end
it { should contain_package('python-novaclient').with_ensure('2012.1-2') }
end
end