dashboard: test expection on unspported OS
This commit is contained in:
@@ -62,4 +62,17 @@ describe 'cloud::dashboard' do
|
||||
it_configures 'openstack dashboard'
|
||||
end
|
||||
|
||||
context 'on other platforms' do
|
||||
let :facts do
|
||||
{ :osfamily => 'Solaris',
|
||||
:operatingsystemrelease => '10',
|
||||
:concat_basedir => '/var/lib/puppet/concat' }
|
||||
end
|
||||
|
||||
it 'should fail' do
|
||||
expect { subject }.to raise_error(/module puppet-horizon doesn't support/)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user