Skip to content

Commit 493aa78

Browse files
author
Jarret Lavallee
committed
(maint) Fix new PDK 2.0 cops
This commit fixes the liniting issues with the PDK 2.0 update.
1 parent a3313ab commit 493aa78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/classes/puppet_metrics_collector_system_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
end
2121

2222
context 'when vmware-toolbox-cmd is present on the PATH' do
23-
let(:facts) { super().merge({puppet_metrics_collector: {have_vmware_tools: true}}) }
23+
let(:facts) { super().merge(puppet_metrics_collector: {have_vmware_tools: true}) }
2424

2525
it { is_expected.to contain_cron('vmware_metrics_collection').with_ensure('present') }
2626
end
2727

2828
context 'when vmware-toolbox-cmd is not present on the PATH' do
29-
let(:facts) { super().merge({puppet_metrics_collector: {have_vmware_tools: false}}) }
29+
let(:facts) { super().merge(puppet_metrics_collector: {have_vmware_tools: false}) }
3030

3131
it { is_expected.to contain_notify('vmware_tools_warning') }
3232
it { is_expected.to contain_cron('vmware_metrics_collection').with_ensure('absent') }

0 commit comments

Comments
 (0)