diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-03-15 21:53:17 +0100 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-03-15 21:53:17 +0100 |
commit | a7c41208cc4a6e9b543487bf606b551307fdc05a (patch) | |
tree | 37ee4482a666eac29372efe2e788ade2b30d78f6 /spec/hosts/with_lens_spec.rb | |
parent | 9fa9a960f520d108be6f0f42630299a4e14c766f (diff) |
Add spec/defines/augeas_lens_spec.rb
Diffstat (limited to 'spec/hosts/with_lens_spec.rb')
-rw-r--r-- | spec/hosts/with_lens_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
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', |