diff options
author | Tim Smith <tsmith@chef.io> | 2018-08-20 13:46:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 13:46:19 -0700 |
commit | 55ce155851ab599c6e8958c3539f0c386de800ff (patch) | |
tree | c1554da8eea8656449bb528500211d999fb8e4d5 /spec | |
parent | 8915d94a8b572d065ab57a1fa34d93c782a92155 (diff) | |
parent | 47d1cc0936438d73986815af7602b68b9b1aca97 (diff) | |
download | chef-55ce155851ab599c6e8958c3539f0c386de800ff.tar.gz |
Merge pull request #7560 from dbresson/feature/repeated-options-systemd-unit
support repeated options in systemd_unit
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/systemd_unit_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/resource/systemd_unit_spec.rb b/spec/unit/resource/systemd_unit_spec.rb index fa30255885..f05418eb34 100644 --- a/spec/unit/resource/systemd_unit_spec.rb +++ b/spec/unit/resource/systemd_unit_spec.rb @@ -20,11 +20,12 @@ 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\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" => { "Description" => "Run system activity accounting tool every 10 minutes", + "Documentation" => %w{foo bar}, }, "Timer" => { "OnCalendar" => "*:00/10", |