e2cbdd0649
109d4825e5cdd15aa529c1ef7bcccc05f6a78178 4.0.0 Partial blueprint merge-openstack-puppet-modules Change-Id: I672620f149e4a63240144f0ce20e84b084cfd459 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
16 lines
369 B
Ruby
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
|