Skip to content

Commit 763154f

Browse files
committed
test suite lint fixes
1 parent a6526cb commit 763154f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

spec/defines/vhost_spec.rb

+8-4
Original file line numberDiff line numberDiff line change
@@ -2001,29 +2001,33 @@
20012001

20022002
context 'ssl_honorcipherorder on' do
20032003
let :params do
2004-
super().merge({'ssl_honorcipherorder' => 'on',})
2004+
super().merge({ 'ssl_honorcipherorder' => 'on' })
20052005
end
2006+
20062007
it { is_expected.to compile }
20072008
it { is_expected.to contain_concat__fragment('rspec.example.com-ssl').with_content(%r{^\s*SSLHonorCipherOrder\s+On$}) }
20082009
end
20092010
context 'ssl_honorcipherorder true' do
20102011
let :params do
2011-
super().merge({'ssl_honorcipherorder' => true,})
2012+
super().merge({ 'ssl_honorcipherorder' => true })
20122013
end
2014+
20132015
it { is_expected.to compile }
20142016
it { is_expected.to contain_concat__fragment('rspec.example.com-ssl').with_content(%r{^\s*SSLHonorCipherOrder\s+On$}) }
20152017
end
20162018
context 'ssl_honorcipherorder off' do
20172019
let :params do
2018-
super().merge({'ssl_honorcipherorder' => 'off',})
2020+
super().merge({ 'ssl_honorcipherorder' => 'off' })
20192021
end
2022+
20202023
it { is_expected.to compile }
20212024
it { is_expected.to contain_concat__fragment('rspec.example.com-ssl').with_content(%r{^\s*SSLHonorCipherOrder\s+Off$}) }
20222025
end
20232026
context 'ssl_honorcipherorder false' do
20242027
let :params do
2025-
super().merge({'ssl_honorcipherorder' => false,})
2028+
super().merge({ 'ssl_honorcipherorder' => false })
20262029
end
2030+
20272031
it { is_expected.to compile }
20282032
it { is_expected.to contain_concat__fragment('rspec.example.com-ssl').with_content(%r{^\s*SSLHonorCipherOrder\s+Off$}) }
20292033
end

0 commit comments

Comments
 (0)