diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-03-23 13:42:45 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-23 13:42:45 -0700 |
commit | bdbe7e593265595b311870fe581f1ffe93078170 (patch) | |
tree | 40281d142afe17a8e440561be9d4988cc4261acf /spec/functional | |
parent | 8123ca42caddfd6873daf23ddc2f750a9e8983ed (diff) | |
download | chef-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.rb | 2 |
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 |