diff options
author | Markus Roberts <Markus@reality.com> | 2010-10-11 19:41:31 -0700 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-10-13 16:49:41 -0700 |
commit | a090e868d55ea9b10f8193dcb2d1f23838a6def1 (patch) | |
tree | caa92d54d5d798e1a92a44ef55363132f407d557 /spec | |
parent | 295c3be532b01a3ab58411b32b489730922d1c75 (diff) | |
download | puppet-a090e868d55ea9b10f8193dcb2d1f23838a6def1.tar.gz puppet-a090e868d55ea9b10f8193dcb2d1f23838a6def1.tar.xz puppet-a090e868d55ea9b10f8193dcb2d1f23838a6def1.zip |
Fix for #4963 -- Use correct commands for password expiry on solaris
This fixes the command / option issues of #4963 as suggested on the ticket; the
setting-expiry when not needed aspects are deferred to #4975.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/provider/user/user_role_add_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/user/user_role_add_spec.rb b/spec/unit/provider/user/user_role_add_spec.rb index b3244f19d..9cf649267 100644 --- a/spec/unit/provider/user/user_role_add_spec.rb +++ b/spec/unit/provider/user/user_role_add_spec.rb @@ -72,7 +72,7 @@ describe provider_class do @provider = provider_class.new(@resource) @provider.stubs(:user_attributes) @provider.stubs(:execute) - @provider.expects(:execute).with { |cmd, *args| args == ["-m", 5, "-M", 10, "myuser"] } + @provider.expects(:execute).with { |cmd, *args| args == ["-n", 5, "-x", 10, "myuser"] } @provider.create end end |