Browse Source

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
```
tags/v1.9.1
Imran Iqbal 3 years ago
parent
commit
f64197ada4
No account linked to committer's email address
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      test/integration/v3000-py2/controls/pkgs_spec.rb
  2. +1
    -1
      test/integration/v3000-py3/controls/pkgs_spec.rb
  3. +1
    -1
      test/integration/v3001-py3/controls/pkgs_spec.rb
  4. +1
    -1
      test/integration/v3002-py3/controls/pkgs_spec.rb
  5. +1
    -1
      test/integration/v3003-py3/controls/pkgs_spec.rb

+ 1
- 1
test/integration/v3000-py2/controls/pkgs_spec.rb View File

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

+ 1
- 1
test/integration/v3000-py3/controls/pkgs_spec.rb View File

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

+ 1
- 1
test/integration/v3001-py3/controls/pkgs_spec.rb View File

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

+ 1
- 1
test/integration/v3002-py3/controls/pkgs_spec.rb View File

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

+ 1
- 1
test/integration/v3003-py3/controls/pkgs_spec.rb View File

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

Loading…
Cancel
Save