Fix openstackclient spec test

Dont check things inside openstacklib but
check that the openstacklib class is there.

Change-Id: I1ae6fd1cc53da1c514075f446ac1fc4b2379cb00
This commit is contained in:
Tobias Urdin
2019-02-04 10:25:38 +01:00
parent 2879f0ab3d
commit 7abdd7c8e7

View File

@@ -28,10 +28,8 @@ describe 'barbican::client' do
'name' => platform_params[:client_package_name], 'name' => platform_params[:client_package_name],
'tag' => 'openstack' 'tag' => 'openstack'
)} )}
it { is_expected.to contain_package('python-openstackclient').with(
'ensure' => 'present', it { should contain_class('openstacklib::openstackclient') }
'tag' => 'openstack',
)}
end end
describe "with specified version" do describe "with specified version" do