Skip to content

Commit 06f752d

Browse files
XylakantFelix Gilcher
authored andcommitted
add test for logging config
this just asserts that the default still applies
1 parent 394f10c commit 06f752d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

spec/classes/opennebula_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@
135135
it { should contain_file("#{onehome}/.ssh/id_dsa").with_content(sshprivkey) }
136136
it { should contain_file("#{onehome}/.ssh/id_dsa.pub").with_content(sshpubkey) }
137137
it { should contain_file("#{onehome}/.ssh/authorized_keys").with_content(sshpubkey) }
138+
it { should contain_file(oned_config).with_content(/^LOG = \[\n\s+system\s+=\s+"file"/m) }
139+
138140
context 'with sqlite backend' do
139141
it { should contain_file(oned_config).with_content(/^DB = \[ backend = \"sqlite\"/) }
140142
end

0 commit comments

Comments
 (0)