summaryrefslogtreecommitdiff
path: root/spec/unit/provider
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-01-13 16:22:36 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2020-01-13 16:22:36 -0800
commit934c08b2ab5be6974a9f79d512d910ba8844b548 (patch)
tree83daeedca81bfc339f7463f9afda6c73df2a2ac9 /spec/unit/provider
parent407d9e76eaa2dc8e74a7252dc4b06a4422742c0d (diff)
downloadchef-934c08b2ab5be6974a9f79d512d910ba8844b548.tar.gz
fix AIX spec
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/provider')
-rw-r--r--spec/unit/provider/user/aix_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/user/aix_spec.rb b/spec/unit/provider/user/aix_spec.rb
index f8b5b8a324..99b2c41e86 100644
--- a/spec/unit/provider/user/aix_spec.rb
+++ b/spec/unit/provider/user/aix_spec.rb
@@ -1,4 +1,4 @@
-# Copyright:: Copyright 2017, Chef Software Inc.
+# Copyright:: Copyright 2017-2019, Chef Software Inc.
#
# License:: Apache License, Version 2.0
#
@@ -51,7 +51,7 @@ describe Chef::Provider::User::Aix do
end
it "should call chpasswd correctly" do
- expect(provider).to receive(:shell_out_compacted!).with("echo 'adam:Ostagazuzulum' | chpasswd -e").and_return true
+ expect(provider).to receive(:shell_out_compacted!).with("echo 'adam:Ostagazuzulum' | chpasswd -c -e").and_return true
provider.manage_user
end
end