diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-22 20:17:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-22 20:17:31 -0700 |
commit | e52b9268b1e65b3ff2ed6744efa9af91526b373e (patch) | |
tree | 5cc5c6428ceb4eb324b70fa5c4459a0d80cc7976 | |
parent | 1429df950b0a6865d55f6e432a3aa0c615e1f1a7 (diff) | |
parent | 11549c998b6f2a88f0f332ed55259b2a86df1e93 (diff) | |
download | chef-e52b9268b1e65b3ff2ed6744efa9af91526b373e.tar.gz |
Merge pull request #5232 from chef/lcg/fix-rhel-func-tests
fixed CHEF-2205 so fix the func test
-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 |