We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5ea778 commit 4a279f3Copy full SHA for 4a279f3
1 file changed
spec/classes/nextcloud_spec.rb
@@ -48,6 +48,7 @@
48
root_home: '/root',
49
)
50
end
51
+
52
context 'should fail without ssl_cert_file and ssl_key_file' do
53
let :params do
54
{
@@ -57,6 +58,17 @@
57
58
59
it { is_expected.to compile.and_raise_error(/You must provide certificate/) }
60
61
+ context 'with certificates' do
62
+ let :params do
63
+ {
64
+ ssl: true,
65
+ ssl_key_file: '/path/to/ssl_key_file',
66
+ ssl_cert_file: '/path/to/ssl_cert_file',
67
+ }
68
+ end
69
70
+ it { is_expected.to compile.with_all_deps }
71
72
73
74
0 commit comments