diff options
author | kaustubh-d <kausubh@clogeny.com> | 2013-07-23 05:02:40 -0700 |
---|---|---|
committer | adamedx <adamed@opscode.com> | 2013-08-04 08:27:07 -0700 |
commit | 633274dea1d59dec6d5488e5338ca270f99fb665 (patch) | |
tree | 39b06feb89180396e4e83c4f93aa42dfe84ba01b /spec | |
parent | a3dbaab9287a2dce7d3c972dc54166b3c079d62e (diff) | |
download | chef-633274dea1d59dec6d5488e5338ca270f99fb665.tar.gz |
exclude cron attributes test for solaris.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/functional/resource/cron_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/functional/resource/cron_spec.rb b/spec/functional/resource/cron_spec.rb index 5c322e3222..20a695af32 100644 --- a/spec/functional/resource/cron_spec.rb +++ b/spec/functional/resource/cron_spec.rb @@ -83,7 +83,8 @@ describe Chef::Resource::Cron, :requires_root, :unix_only do end end - describe "create action with various attributes" do + exclude_solaris = ohai[:platform] == "solaris" + describe "create action with various attributes", :external => exclude_solaris do def create_and_validate_with_attribute(resource, attribute, value) if ohai[:platform] == 'aix' expect {resource.run_action(:create)}.to raise_error(Chef::Exceptions::Cron, /Aix cron entry does not support environment variables. Please set them in script and use script in cron./) |