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
1 changed files with 2 additions and 4 deletions

View File

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