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.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/hosts/with_lens_spec.rb b/spec/hosts/with_lens_spec.rb
index d7a5249..35ab8b6 100644
--- a/spec/hosts/with_lens_spec.rb
+++ b/spec/hosts/with_lens_spec.rb
@@ -9,6 +9,8 @@ describe 'with_lens' do
let (:facts) { {
:osfamily => 'RedHat',
:augeas_lens_source => '/tmp/foo.aug',
+ :augeas_stock_since => :undef,
+ :augeas_test_source => :undef,
} }
it { should contain_file('/usr/share/augeas/lenses/foo.aug') }
@@ -22,6 +24,7 @@ describe 'with_lens' do
:osfamily => 'RedHat',
:augeas_lens_source => '/tmp/foo.aug',
:augeas_test_source => '/tmp/test_foo.aug',
+ :augeas_stock_since => :undef,
} }
it { should contain_file('/usr/share/augeas/lenses/foo.aug') }
@@ -36,6 +39,7 @@ describe 'with_lens' do
:augeas_lens_source => '/tmp/foo.aug',
:augeas_stock_since => '1.2.3',
:augeasversion => '1.0.0',
+ :augeas_test_source => :undef,
} }
it { should contain_file('/usr/share/augeas/lenses/foo.aug') }
@@ -48,6 +52,7 @@ describe 'with_lens' do
:augeas_lens_source => '/tmp/foo.aug',
:augeas_stock_since => '1.2.3',
:augeasversion => '1.5.0',
+ :augeas_test_source => :undef,
} }
it { should_not contain_file('/usr/share/augeas/lenses/foo.aug') }