summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-23 13:42:45 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-23 13:42:45 -0700
commitbdbe7e593265595b311870fe581f1ffe93078170 (patch)
tree40281d142afe17a8e440561be9d4988cc4261acf /spec/functional
parent8123ca42caddfd6873daf23ddc2f750a9e8983ed (diff)
downloadchef-bdbe7e593265595b311870fe581f1ffe93078170.tar.gz
Tweak functional spec order
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/cron_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/cron_spec.rb b/spec/functional/resource/cron_spec.rb
index ab4fa4b4d9..394d9a3e82 100644
--- a/spec/functional/resource/cron_spec.rb
+++ b/spec/functional/resource/cron_spec.rb
@@ -153,8 +153,8 @@ describe Chef::Resource::Cron, :requires_root, :unix_only do
end
it "should not create cron with invalid minute" do
- new_resource.minute "invalid"
expect { new_resource.run_action(:create) }.to raise_error(Chef::Exceptions::ValidationFailed)
+ new_resource.minute "invalid"
cron_should_not_exists(new_resource.name)
end