Fix openstackclient spec test

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

Change-Id: I2a2b3a2ff9ac02c2a276af03152676ce94c66ef8
This commit is contained in:
Tobias Urdin 2019-02-04 10:23:48 +01:00
parent 7fb4c280c7
commit de8e3d4870
1 changed files with 1 additions and 7 deletions

View File

@ -26,13 +26,7 @@ describe 'cinder::client' do
)
end
it 'installs openstackclient package' do
is_expected.to contain_package('python-openstackclient').with(
'ensure' => 'present',
'tag' => 'openstack',
)
end
it { should contain_class('openstacklib::openstackclient') }
end
on_supported_os({