Skip to content

Commit 1412830

Browse files
committed
rubocop: autofix
1 parent a448b77 commit 1412830

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

spec/defines/resource_server_spec.rb

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,11 +1257,13 @@
12571257
end
12581258

12591259
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-
} }
1260+
let(:params) do
1261+
{
1262+
ssl: true,
1263+
ssl_cert: ['/tmp/foo1.crt', '/tmp/foo2.crt'],
1264+
ssl_key: ['/tmp/foo1.key', '/tmp/foo2.key'],
1265+
}
1266+
end
12651267

12661268
it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{ssl_certificate\s+/tmp/foo1.crt}) }
12671269
it { is_expected.to contain_concat__fragment("#{title}-ssl-header").with_content(%r{ssl_certificate_key\s+/tmp/foo1.key}) }

0 commit comments

Comments
 (0)