From 5e8044e3173c756ff134d7890479dd2e8dd684e4 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Tue, 23 Apr 2024 15:56:58 +0200 Subject: [PATCH] rubocop: autofix --- spec/mock_vsphere_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/mock_vsphere_helper.rb b/spec/mock_vsphere_helper.rb index 8fac2a8..701f948 100644 --- a/spec/mock_vsphere_helper.rb +++ b/spec/mock_vsphere_helper.rb @@ -88,13 +88,13 @@ def self.set_config(conf) end def self.powerOn - @@vms.each do |_name, vm| + @@vms.each_value do |vm| vm.powerState = 'poweredOn' end end def self.powerOff - @@vms.each do |_name, vm| + @@vms.each_value do |vm| vm.powerState = 'poweredOff' end end