Skip to content

Commit

Permalink
fix rubocop complaints
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Waffen <[email protected]>
  • Loading branch information
rwaffen committed Jun 20, 2024
1 parent 925d712 commit ebc3670
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/facter/grafana_version_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'facter'

Check failure on line 1 in spec/facter/grafana_version_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Style/FrozenStringLiteralComment: Missing frozen string literal comment.

describe 'grafana_version' do
before(:each) do
before do
Facter.clear
allow(Facter::Util::Resolution).to receive(:which).with('grafana-server').and_return('/usr/sbin/grafana-server')
end
Expand All @@ -23,5 +23,4 @@
expect(Facter.fact(:grafana_version).value).to be_nil
end
end

end

0 comments on commit ebc3670

Please sign in to comment.