浏览代码

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 年前
父节点
当前提交
f64197ada4
没有帐户链接到提交者的电子邮件
共有 5 个文件被更改,包括 5 次插入5 次删除
  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 查看文件

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

+ 1
- 1
test/integration/v3000-py3/controls/pkgs_spec.rb 查看文件

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

+ 1
- 1
test/integration/v3001-py3/controls/pkgs_spec.rb 查看文件

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

+ 1
- 1
test/integration/v3002-py3/controls/pkgs_spec.rb 查看文件

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

+ 1
- 1
test/integration/v3003-py3/controls/pkgs_spec.rb 查看文件

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

正在加载...
取消
保存