summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-09 11:40:13 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-09 11:40:13 -0700
commit080111123d706517d84bf1c1df586f60737024d6 (patch)
tree5eddd42249672b0a52c6c58b6512a3591777e791 /spec
parent409c2f34455ff192366a688eb11647618ebf661b (diff)
downloadchef-080111123d706517d84bf1c1df586f60737024d6.tar.gz
Remove specs for integer assumption
It's a string now Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/resource/chef_client_systemd_timer_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/unit/resource/chef_client_systemd_timer_spec.rb b/spec/unit/resource/chef_client_systemd_timer_spec.rb
index 9b82b85b13..139d4c6ba3 100644
--- a/spec/unit/resource/chef_client_systemd_timer_spec.rb
+++ b/spec/unit/resource/chef_client_systemd_timer_spec.rb
@@ -33,15 +33,6 @@ describe Chef::Resource::ChefClientSystemdTimer do
expect(resource.user).to eql("root")
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 "builds a default value for chef_binary_path dist values" do
expect(resource.chef_binary_path).to eql("/opt/chef/bin/chef-client")
end