We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a448b77 commit 1412830Copy full SHA for 1412830
spec/defines/resource_server_spec.rb
@@ -1257,11 +1257,13 @@
1257
end
1258
1259
context 'SSL cert and key are both an array' do
1260
- let(:params) { {
1261
- ssl: true,
1262
- ssl_cert: ['/tmp/foo1.crt', '/tmp/foo2.crt'],
1263
- ssl_key: ['/tmp/foo1.key', '/tmp/foo2.key'],
1264
- } }
+ let(:params) do
+ {
+ ssl: true,
+ ssl_cert: ['/tmp/foo1.crt', '/tmp/foo2.crt'],
+ ssl_key: ['/tmp/foo1.key', '/tmp/foo2.key'],
1265
+ }
1266
+ end
1267
1268
it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{ssl_certificate\s+/tmp/foo1.crt}) }
1269
it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{ssl_certificate_key\s+/tmp/foo1.key}) }
0 commit comments