From 934c08b2ab5be6974a9f79d512d910ba8844b548 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 13 Jan 2020 16:22:36 -0800 Subject: fix AIX spec Signed-off-by: Lamont Granquist --- spec/unit/provider/user/aix_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/unit/provider') 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 -- cgit v1.2.1