Skip to content

Commit

Permalink
fix(rubocop): add fixes using rubocop --safe-auto-correct
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Oct 11, 2019
1 parent 257d009 commit 9eba083
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/integration/default/controls/config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

# Set defaults, use debian as base

config = '/etc/collectd/collectd.conf'
Expand All @@ -20,4 +22,3 @@
its('mode') { should cmp '0644' }
end
end

3 changes: 2 additions & 1 deletion test/integration/default/controls/install.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

# Set defaults, use debian as base

pkg = 'collectd-core'
Expand All @@ -10,7 +12,6 @@
pkg = 'collectd5'
end


control 'Collectd package' do
title 'should be installed'

Expand Down
2 changes: 2 additions & 0 deletions test/integration/default/controls/service.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

control 'Collectd service' do
title 'should be running and enabled'

Expand Down

0 comments on commit 9eba083

Please sign in to comment.