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 12, 2019
1 parent e7b4f81 commit f1d486d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/integration/default/controls/config_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

control 'Telegraf configuration' do
title 'should match desired lines'

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

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

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

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

describe service('telegraf') do
it { should be_enabled }
it { should be_running }
end

end

0 comments on commit f1d486d

Please sign in to comment.