We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rubocop --safe-auto-correct
1 parent a21ead0 commit 67de777Copy full SHA for 67de777
test/integration/preferences/controls/preferences_spec.rb
@@ -1,3 +1,5 @@
1
+# frozen_string_literal: true
2
+
3
control 'Apt preferences' do
4
title 'should be configured'
5
test/integration/repositories/controls/repositories_spec.rb
@@ -1,11 +1,13 @@
control 'Apt repositories' do
- if os[:name] == 'ubuntu'
- keyring_package = 'ubuntu-keyring'
6
- else
7
- keyring_package = 'debian-archive-keyring'
8
- end
+ keyring_package = if os[:name] == 'ubuntu'
+ 'ubuntu-keyring'
+ else
9
+ 'debian-archive-keyring'
10
+ end
11
12
describe package(keyring_package) do
13
it { should be_installed }
0 commit comments