diff options
author | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-02-19 13:12:11 -0500 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-02-19 13:12:11 -0500 |
commit | b69b4efc17c6a34a43df6265d02a624fe2e8dd14 (patch) | |
tree | 5ac5ce7c2bfab9cdb11a0297ad3fb386cc469cc5 /spec | |
parent | 1468c85d1374986ffd5590f6653ff6a64bbdf4c9 (diff) | |
parent | 9caa13385a657de328387e3db80faf0a3b8d3ca0 (diff) | |
download | chef-b69b4efc17c6a34a43df6265d02a624fe2e8dd14.tar.gz |
Merge pull request #2946 from chef/jdm/group-spec-fix
Group spec needs to respond to shell_out
Diffstat (limited to 'spec')
-rw-r--r-- | spec/functional/resource/group_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb index 01e79f96bf..6676aa32e9 100644 --- a/spec/functional/resource/group_spec.rb +++ b/spec/functional/resource/group_spec.rb @@ -19,12 +19,15 @@ require 'spec_helper' require 'functional/resource/base' +require 'chef/mixin/shell_out' # Chef::Resource::Group are turned off on Mac OS X 10.6 due to caching # issues around Etc.getgrnam() not picking up the group membership # changes that are done on the system. Etc.endgrent is not functioning # correctly on certain 10.6 boxes. describe Chef::Resource::Group, :requires_root_or_running_windows, :not_supported_on_mac_osx_106 do + include Chef::Mixin::ShellOut + def group_should_exist(group) case ohai[:platform_family] when "debian", "fedora", "rhel", "suse", "gentoo", "slackware", "arch" |