diff options
author | Corey Hemminger <hemminger@hotmail.com> | 2022-08-02 14:23:15 -0500 |
---|---|---|
committer | Corey Hemminger <hemminger@hotmail.com> | 2022-08-02 14:23:15 -0500 |
commit | 8369275edb7f1dc22828e837b149f7c6e9092db7 (patch) | |
tree | 87f612ae46fa970773e94bbedf9e6faf4f780dc8 /spec | |
parent | a3f093e4c293dcebe773e31f5dca38256cd595b0 (diff) | |
download | chef-8369275edb7f1dc22828e837b149f7c6e9092db7.tar.gz |
test
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/chef_client_systemd_timer_spec.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/unit/resource/chef_client_systemd_timer_spec.rb b/spec/unit/resource/chef_client_systemd_timer_spec.rb index bb118ea3f3..bd6dd512c4 100644 --- a/spec/unit/resource/chef_client_systemd_timer_spec.rb +++ b/spec/unit/resource/chef_client_systemd_timer_spec.rb @@ -48,17 +48,8 @@ describe Chef::Resource::ChefClientSystemdTimer do expect { resource.action :remove }.not_to raise_error end - it "coerces splay to an Integer" do - resource.splay "10" - expect(resource.splay).to eql(10) - end - - it "raises an error if splay is not a positive number" do - expect { resource.splay("-10") }.to raise_error(Chef::Exceptions::ValidationFailed) - end - it "set splay to 0" do - resource.splay "0" + resource.splay 0 expect(resource.splay).to eql(0) end |