puppet-cinder/spec/classes/cinder_volume_gpfs_spec.rb
Alex Schultz 7142165485 Update tests to leverage rspec-puppet-facts
This change updates the test that currently do Debian/RedHat sets of
tests to use on_supported_os from rspec-puppet-facts. This improves the
over all coverage with the specific CentOS, Debian, RedHat and Ubuntu
flavors of facts.

Change-Id: Ic7b12cd8972bbde0574806acb2d680f14f1c267f
2016-01-18 10:25:18 -07:00

22 lines
364 B
Ruby

require 'spec_helper'
describe 'cinder::volume::gpfs' do
let :params do
{
:gpfs_mount_point_base => '/opt/gpfs/cinder/volumes',
}
end
let :facts do
OSDefaults.get_facts({})
end
context 'gpfs volume driver' do
it 'checks gpfs backend availability' do
is_expected.to contain_cinder__backend__gpfs('DEFAULT')
end
end
end