blob: 5704ded63d8776abc07b6e49db73daf0ff381015 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require 'spec_helper'
describe 'wrong_os' do
let (:facts) { {
:osfamily => 'MS-DOS'
} }
it 'should fail' do
expect { should contain_package('ruby-augeas') }.to raise_error(Puppet::Error, /Unsupported OS family/)
end
end
|