summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-23 14:01:30 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-23 14:01:30 -0700
commit9110c108c8f7ad89d296089e1a6b5e9e3970490b (patch)
tree6d22ad22d74cc91db31f07b46fd5019013126e81
parent7ab1a781a5190e9b6501ee349117e59479a88ff4 (diff)
downloadchef-9110c108c8f7ad89d296089e1a6b5e9e3970490b.tar.gz
Remove a functional test that was already well cover in unit tests
This is really unit test land Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/functional/resource/cron_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/functional/resource/cron_spec.rb b/spec/functional/resource/cron_spec.rb
index 394d9a3e82..12494b6ddb 100644
--- a/spec/functional/resource/cron_spec.rb
+++ b/spec/functional/resource/cron_spec.rb
@@ -152,17 +152,10 @@ describe Chef::Resource::Cron, :requires_root, :unix_only do
new_resource.run_action(:delete)
end
- it "should not create cron with invalid minute" do
- expect { new_resource.run_action(:create) }.to raise_error(Chef::Exceptions::ValidationFailed)
- new_resource.minute "invalid"
- cron_should_not_exists(new_resource.name)
- end
-
it "should not create cron with invalid user" do
new_resource.user "1-really-really-invalid-user-name"
expect { new_resource.run_action(:create) }.to raise_error(Chef::Exceptions::Cron)
cron_should_not_exists(new_resource.name)
end
-
end
end