We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 394f10c commit 06f752dCopy full SHA for 06f752d
1 file changed
spec/classes/opennebula_spec.rb
@@ -135,6 +135,8 @@
135
it { should contain_file("#{onehome}/.ssh/id_dsa").with_content(sshprivkey) }
136
it { should contain_file("#{onehome}/.ssh/id_dsa.pub").with_content(sshpubkey) }
137
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
+
140
context 'with sqlite backend' do
141
it { should contain_file(oned_config).with_content(/^DB = \[ backend = \"sqlite\"/) }
142
end
0 commit comments