From 9caa13385a657de328387e3db80faf0a3b8d3ca0 Mon Sep 17 00:00:00 2001 From: Jay Mundrawala Date: Thu, 19 Feb 2015 08:38:12 -0800 Subject: Group spec needs to respond to shell_out --- spec/functional/resource/group_spec.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spec') 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" -- cgit v1.2.1