summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorantima-gupta <agupta@msystechnologies.com>2021-07-23 17:56:07 +0530
committerantima-gupta <agupta@msystechnologies.com>2021-07-23 17:56:07 +0530
commit4ff2ef88f780f4425347c5624454a4580732f0cb (patch)
treeda1f4f7ba704d81be22d143ec956da5a44ed9891 /spec/unit
parent1f76c20ab6f6479e8c0ef32399cc6780a32ca42d (diff)
downloadchef-4ff2ef88f780f4425347c5624454a4580732f0cb.tar.gz
Fixed generates systemd service should not have spaces around the equal signs.
Fixed testcase failure. Signed-off-by: antima-gupta <agupta@msystechnologies.com>
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/resource/systemd_unit_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/systemd_unit_spec.rb b/spec/unit/resource/systemd_unit_spec.rb
index f05418eb34..737559be73 100644
--- a/spec/unit/resource/systemd_unit_spec.rb
+++ b/spec/unit/resource/systemd_unit_spec.rb
@@ -20,7 +20,7 @@ require "spec_helper"
describe Chef::Resource::SystemdUnit do
let(:resource) { Chef::Resource::SystemdUnit.new("sysstat-collect.timer") }
- let(:unit_content_string) { "[Unit]\nDescription = Run system activity accounting tool every 10 minutes\nDocumentation = foo\nDocumentation = bar\n\n[Timer]\nOnCalendar = *:00/10\n\n[Install]\nWantedBy = sysstat.service\n" }
+ let(:unit_content_string) { "[Unit]\nDescription=Run system activity accounting tool every 10 minutes\nDocumentation=foo\nDocumentation=bar\n\n[Timer]\nOnCalendar=*:00/10\n\n[Install]\nWantedBy=sysstat.service\n" }
let(:unit_content_hash) do
{
"Unit" => {