From a7c41208cc4a6e9b543487bf606b551307fdc05a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Fri, 15 Mar 2013 21:53:17 +0100 Subject: Add spec/defines/augeas_lens_spec.rb --- spec/hosts/with_lens_spec.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'spec/hosts/with_lens_spec.rb') diff --git a/spec/hosts/with_lens_spec.rb b/spec/hosts/with_lens_spec.rb index 125d786..d7a5249 100644 --- a/spec/hosts/with_lens_spec.rb +++ b/spec/hosts/with_lens_spec.rb @@ -5,14 +5,6 @@ describe 'with_lens' do :osfamily => 'RedHat', } } - context 'when no lens_source is passed' do - it 'should error' do - expect { - should contain_file('/usr/share/augeas/lenses/foo.aug') - }.to raise_error(Puppet::Error, /Must pass lens_source/) - end - end - context 'when lens_source is passed' do let (:facts) { { :osfamily => 'RedHat', -- cgit v1.2.3