summaryrefslogtreecommitdiff
path: root/spec/hosts/with_lens_spec.rb
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-03-15 21:53:17 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-03-15 21:53:17 +0100
commita7c41208cc4a6e9b543487bf606b551307fdc05a (patch)
tree37ee4482a666eac29372efe2e788ade2b30d78f6 /spec/hosts/with_lens_spec.rb
parent9fa9a960f520d108be6f0f42630299a4e14c766f (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.rb8
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',