summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2016-01-25 11:07:42 -0700
committertyler-ball <tyleraball@gmail.com>2016-01-25 11:08:02 -0700
commitae996cc5948e5e8384c3ee91bd172ce2bb4303b2 (patch)
treea5201e1dec1c89f70ed56035ddbd1f28d0cb28d1
parent1cb9cc67b71d21d1207602d1ec50ad2d68486171 (diff)
downloadchef-tball/nexus7_more_failures.tar.gz
wrlinux is a derivative of RHEL and as such the default creation of user home directory is expectedtball/nexus7_more_failures
-rw-r--r--spec/functional/resource/user/useradd_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/user/useradd_spec.rb b/spec/functional/resource/user/useradd_spec.rb
index 38682baea6..1bef44c3df 100644
--- a/spec/functional/resource/user/useradd_spec.rb
+++ b/spec/functional/resource/user/useradd_spec.rb
@@ -245,7 +245,7 @@ describe Chef::Provider::User::Useradd, metadata do
expect(pw_entry.home).to eq(home)
end
- if %w{rhel fedora}.include?(OHAI_SYSTEM["platform_family"])
+ if %w{rhel fedora wrlinux}.include?(OHAI_SYSTEM["platform_family"])
# Inconsistent behavior. See: CHEF-2205
it "creates the home dir when not explicitly asked to on RHEL (XXX)" do
expect(File).to exist(home)