diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-22 18:50:50 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-22 18:50:50 -0700 |
commit | 11549c998b6f2a88f0f332ed55259b2a86df1e93 (patch) | |
tree | 5cc5c6428ceb4eb324b70fa5c4459a0d80cc7976 | |
parent | 1429df950b0a6865d55f6e432a3aa0c615e1f1a7 (diff) | |
download | chef-lcg/fix-rhel-func-tests.tar.gz |
fixed CHEF-2205 so fix the func testlcg/fix-rhel-func-tests
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/functional/resource/user/useradd_spec.rb | 11 |
1 files 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 |