浏览代码

fix(rubocop): add fixes using `rubocop --safe-auto-correct`

tags/v0.9.1
Imran Iqbal 5 年前
父节点
当前提交
67de777842
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 9 次插入5 次删除
  1. +2
    -0
      test/integration/preferences/controls/preferences_spec.rb
  2. +7
    -5
      test/integration/repositories/controls/repositories_spec.rb

+ 2
- 0
test/integration/preferences/controls/preferences_spec.rb 查看文件

@@ -1,3 +1,5 @@
# frozen_string_literal: true

control 'Apt preferences' do
title 'should be configured'


+ 7
- 5
test/integration/repositories/controls/repositories_spec.rb 查看文件

@@ -1,11 +1,13 @@
# frozen_string_literal: true

control 'Apt repositories' do
title 'should be configured'

if os[:name] == 'ubuntu'
keyring_package = 'ubuntu-keyring'
else
keyring_package = 'debian-archive-keyring'
end
keyring_package = if os[:name] == 'ubuntu'
'ubuntu-keyring'
else
'debian-archive-keyring'
end

describe package(keyring_package) do
it { should be_installed }

正在加载...
取消
保存