summaryrefslogtreecommitdiff
path: root/spec/classes/yaml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/classes/yaml_spec.rb')
-rw-r--r--spec/classes/yaml_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/classes/yaml_spec.rb b/spec/classes/yaml_spec.rb
index c5912f2..53ee507 100644
--- a/spec/classes/yaml_spec.rb
+++ b/spec/classes/yaml_spec.rb
@@ -27,6 +27,12 @@ store_options:
adapter_options:
:file: /var/lib/trocla/trocla_data.yaml
") }
+ it { should contain_file('/var/lib/trocla').with(
+ :ensure => 'directory',
+ :owner => 'puppet',
+ :group => 0,
+ :mode => '0600'
+ )}
it { should contain_file('/var/lib/trocla/trocla_data.yaml').with(
:ensure => 'file',
:owner => 'puppet',