Skip to content

Commit 71a94c7

Browse files
Fix RuboCop issues
1 parent 9671f3d commit 71a94c7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spec/defines/vhost_spec.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,26 +1690,26 @@
16901690
it { is_expected.to raise_error(Puppet::Error) }
16911691
end
16921692
context 'empty rewrites' do
1693-
let(:params) {
1693+
let(:params) do
16941694
super().merge(
16951695
'rewrite_inherit' => false,
1696-
'rewrites' => []
1696+
'rewrites' => [],
16971697
)
1698-
}
1698+
end
16991699

1700-
it {
1700+
it {
17011701
is_expected.to compile
17021702
is_expected.not_to contain_concat__fragment('rspec.example.com-rewrite')
1703-
}
1703+
}
17041704
end
17051705
context 'empty rewrites_with_rewrite_inherit' do
1706-
let(:params) {
1706+
let(:params) do
17071707
super().merge(
17081708
'rewrite_inherit' => true,
1709-
'rewrites' => []
1709+
'rewrites' => [],
17101710
)
1711-
}
1712-
1711+
end
1712+
17131713
it {
17141714
is_expected.to contain_concat__fragment('rspec.example.com-rewrite').with(
17151715
content: %r{^\s+RewriteOptions Inherit$},

0 commit comments

Comments
 (0)