diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-16 18:15:06 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-16 18:15:06 -0700 |
commit | c04fcdff7faedcc3e291d24aa6db8078cb9b8af6 (patch) | |
tree | 32f96f5aadd7faa8643fb0bafb87541f35315b3a /spec | |
parent | 12297e33541ef53bbc27dfdfac44aaa55972f8d1 (diff) | |
download | chef-c04fcdff7faedcc3e291d24aa6db8078cb9b8af6.tar.gz |
Fix functional specs to set properties to empty arrays
These can't be directly set to nil anymore.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/functional/resource/group_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb index dc5197f5d8..525a5e842d 100644 --- a/spec/functional/resource/group_spec.rb +++ b/spec/functional/resource/group_spec.rb @@ -293,8 +293,8 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do end let(:group_name) { "group#{SecureRandom.random_number(9999)}" } - let(:included_members) { nil } - let(:excluded_members) { nil } + let(:included_members) { [] } + let(:excluded_members) { [] } let(:group_resource) do group = Chef::Resource::Group.new(group_name, run_context) group.members(included_members) |