diff options
Diffstat (limited to 'spec/hosts/wrong_os_spec.rb')
-rw-r--r-- | spec/hosts/wrong_os_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/hosts/wrong_os_spec.rb b/spec/hosts/wrong_os_spec.rb deleted file mode 100644 index 98fb93f..0000000 --- a/spec/hosts/wrong_os_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -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 { is_expected.to contain_package('ruby-augeas') }.to raise_error(Puppet::Error, /Unsupported OS family/) - end -end |