Fix unit test in gnocchi_storage_file_spec.rb

Change-Id: I6fa69c69b7bcd165852fa993c3915b3d082747a5
This commit is contained in:
Maurice Wei
2017-08-24 16:35:51 +08:00
parent e960bf0af3
commit 560b795d9a

View File

@@ -27,16 +27,7 @@ describe 'gnocchi::storage::file' do
facts.merge!(OSDefaults.get_facts())
end
let(:platform_params) do
case facts[:osfamily]
when 'Debian'
{ :aodh_common_package => 'aodh-common' }
when 'RedHat'
{ :aodh_common_package => 'openstack-aodh-common' }
end
end
it_behaves_like 'gnocchi storage file'
end
end
end