memcached (openstack) is no longer in use
[mirror/dsa-puppet.git] / 3rdparty / modules / nova / spec / classes / nova_client_spec.rb
1 require 'spec_helper'
2
3 describe 'nova::client' do
4
5   context 'with default parameters' do
6     it {
7       should contain_package('python-novaclient').with(
8         :ensure => 'present',
9         :tag    => ['openstack', 'nova']
10       )
11     }
12   end
13
14   context 'with ensure parameter provided' do
15     let :params do
16       { :ensure => '2012.1-2' }
17     end
18     it { should contain_package('python-novaclient').with_ensure('2012.1-2') }
19   end
20 end