Skip to content

Commit

Permalink
Auto-correct rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Aug 18, 2023
1 parent b34a091 commit 0a475c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/classes/telegraf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
}

it {
is_expected.to contain_file("#{config_dir}/telegraf.d/rename_processor.conf").\
is_expected.to contain_file("#{config_dir}/telegraf.d/rename_processor.conf"). \
with_content(<<~STRING
[[processors.rename]]
namepass = ["diskio"]
Expand Down Expand Up @@ -222,7 +222,7 @@
it {
is_expected.to contain_yumrepo('influxdata').
with(
baseurl: "https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable"
baseurl: 'https://repos.influxdata.com/rhel/$releasever/$basearch/stable'
)
}
end
Expand All @@ -241,7 +241,7 @@
it {
is_expected.to contain_yumrepo('influxdata').
with(
baseurl: "https://repos.influxdata.com/rhel/\$releasever/\$basearch/unstable"
baseurl: 'https://repos.influxdata.com/rhel/$releasever/$basearch/unstable'
)
}
end
Expand Down

0 comments on commit 0a475c8

Please sign in to comment.