summaryrefslogtreecommitdiff
path: root/spec/hosts/with_lens_spec.rb
diff options
context:
space:
mode:
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',