Skip to content

Commit 7637c1d

Browse files
fix: linter
1 parent 82a5150 commit 7637c1d

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

spec/classes/apache/vhost_spec.rb

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,11 @@
4646
end
4747

4848
if ['RedHat'].include?(facts[:os]['family'])
49-
['3.6','3.8','3.9'].each do |python_version|
49+
['3.6', '3.8', '3.9'].each do |python_version|
5050
context "with python_versions #{python_version}" do
51-
let (:pre_condition) do
51+
let(:pre_condition) do
5252
[
53-
"class { 'puppetboard':
54-
python_version => \"#{python_version}\",
55-
}
56-
"
53+
"class { 'puppetboard': python_version => \"#{python_version}\", }"
5754
]
5855
end
5956

@@ -66,14 +63,12 @@
6663
package_name = 'python39-mod_wsgi'
6764
end
6865

69-
it { is_expected.to contain_class('apache::mod::wsgi').with(
70-
package_name: package_name
71-
) }
66+
it { is_expected.to contain_class('apache::mod::wsgi').with(package_name: package_name) }
7267
end
7368
end
7469

75-
context "with unsupported python_versions" do
76-
let (:pre_condition) do
70+
context 'with unsupported python_versions' do
71+
let(:pre_condition) do
7772
[
7873
"class { 'puppetboard':
7974
python_version => '3.7',

0 commit comments

Comments
 (0)