blob: 4180e81e44879ce059d845d02a32378213e09881 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require 'spec_helper'
describe 'wrong_os' do
let (:facts) { {
:augeas_lens_dir => :undef,
:augeas_ruby_version => :undef,
:augeas_test_source => :undef,
:augeas_version => :undef,
:osfamily => 'MS-DOS',
} }
it 'should fail' do
expect { should contain_package('ruby-augeas') }.to raise_error(Puppet::Error, /Unsupported OS family/)
end
end
|