summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-03-02 16:46:43 +0000
committerThom May <thom@chef.io>2016-03-02 16:46:43 +0000
commitbb07619ac9d484899c91e051be39ab33f5d4b27f (patch)
tree3f7bbeeaffe0ec7ead2464f25181b16c8079d389 /spec/functional
parent8b94d2346158f42e37ae0f54f65710e3122e8098 (diff)
downloadchef-bb07619ac9d484899c91e051be39ab33f5d4b27f.tar.gz
Revert "Merge pull request #4465 from artursitarski/change-shell-for-locked-user"tm/revert_4465
This reverts commit 94494e761763b877c3ef3b52eee9ac9df2186340, reversing changes made to a95a87d50c9e5af2fbd583afcf972880656d1a4b.
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/user/useradd_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/functional/resource/user/useradd_spec.rb b/spec/functional/resource/user/useradd_spec.rb
index 6ac855fbfc..5ce3ed7354 100644
--- a/spec/functional/resource/user/useradd_spec.rb
+++ b/spec/functional/resource/user/useradd_spec.rb
@@ -144,7 +144,6 @@ describe Chef::Provider::User::Useradd, metadata do
let(:password) { nil }
let(:system) { false }
let(:comment) { nil }
- let(:shell) { nil }
let(:user_resource) do
r = Chef::Resource::User.new("TEST USER RESOURCE", run_context)
@@ -155,7 +154,6 @@ describe Chef::Provider::User::Useradd, metadata do
r.manage_home(manage_home)
r.password(password)
r.system(system)
- r.shell(shell)
r
end
@@ -620,7 +618,6 @@ describe Chef::Provider::User::Useradd, metadata do
context "when the user exists" do
include_context "user exists for lock/unlock"
- let(:shell) { "/bin/sh" }
before do
begin