2
0

test(pkgs_spec): fix latest rubocop violations [skip ci]

```
Offenses:

test/integration/v3000-py2/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3000-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3001-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3002-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^
test/integration/v3003-py3/controls/pkgs_spec.rb:10:5: C: [Correctable]
Style/WordArray: Use ['Salt Minion'] for an array of words.
(https://rubystyle.guide#percent-w)
    %w[Salt\ Minion]
    ^^^^^^^^^^^^^^^^

19 files inspected, 5 offenses detected, 5 offenses auto-correctable
```
This commit is contained in:
Imran Iqbal 2021-09-04 21:25:43 +01:00
parent bd3458837b
commit f64197ada4
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ pkgs =
when /bsd$/ when /bsd$/
%w[py38-salt-3002.6] %w[py38-salt-3002.6]
when 'windows' when 'windows'
%w[Salt\ Minion] ['Salt Minion']
else else
%w[salt-master salt-minion] %w[salt-master salt-minion]
end end

View File

@ -7,7 +7,7 @@ pkgs =
when /bsd$/ when /bsd$/
%w[py38-salt-3002.6] %w[py38-salt-3002.6]
when 'windows' when 'windows'
%w[Salt\ Minion] ['Salt Minion']
else else
%w[salt-master salt-minion] %w[salt-master salt-minion]
end end

View File

@ -7,7 +7,7 @@ pkgs =
when /bsd$/ when /bsd$/
%w[py38-salt-3002.6] %w[py38-salt-3002.6]
when 'windows' when 'windows'
%w[Salt\ Minion] ['Salt Minion']
else else
%w[salt-master salt-minion] %w[salt-master salt-minion]
end end

View File

@ -7,7 +7,7 @@ pkgs =
when /bsd$/ when /bsd$/
%w[py38-salt] %w[py38-salt]
when 'windows' when 'windows'
%w[Salt\ Minion] ['Salt Minion']
else else
%w[salt-master salt-minion] %w[salt-master salt-minion]
end end

View File

@ -7,7 +7,7 @@ pkgs =
when /bsd$/ when /bsd$/
%w[py38-salt] %w[py38-salt]
when 'windows' when 'windows'
%w[Salt\ Minion] ['Salt Minion']
else else
%w[salt-master salt-minion] %w[salt-master salt-minion]
end end