From 11549c998b6f2a88f0f332ed55259b2a86df1e93 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 22 Aug 2016 18:50:50 -0700 Subject: fixed CHEF-2205 so fix the func test Signed-off-by: Lamont Granquist --- spec/functional/resource/user/useradd_spec.rb | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/spec/functional/resource/user/useradd_spec.rb b/spec/functional/resource/user/useradd_spec.rb index 2c6ef4a41f..f13cd95d6f 100644 --- a/spec/functional/resource/user/useradd_spec.rb +++ b/spec/functional/resource/user/useradd_spec.rb @@ -234,15 +234,8 @@ describe Chef::Provider::User::Useradd, metadata do expect(pw_entry.home).to eq(home) end - 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) - end - else - it "does not create the home dir without `manage_home'" do - expect(File).not_to exist(home) - end + it "does not create the home dir without `manage_home'" do + expect(File).not_to exist(home) end context "and manage_home is enabled" do -- cgit v1.2.1