summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-02-19 13:12:11 -0500
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-02-19 13:12:11 -0500
commitb69b4efc17c6a34a43df6265d02a624fe2e8dd14 (patch)
tree5ac5ce7c2bfab9cdb11a0297ad3fb386cc469cc5
parent1468c85d1374986ffd5590f6653ff6a64bbdf4c9 (diff)
parent9caa13385a657de328387e3db80faf0a3b8d3ca0 (diff)
downloadchef-b69b4efc17c6a34a43df6265d02a624fe2e8dd14.tar.gz
Merge pull request #2946 from chef/jdm/group-spec-fix
Group spec needs to respond to shell_out
-rw-r--r--spec/functional/resource/group_spec.rb3
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"