mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
adjust user_test.rb
This commit is contained in:
parent
9e06f02e27
commit
0b76859728
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ describe "Inspec::Resources::User" do
|
|||
_(resource.exists?).must_equal true
|
||||
_(resource.group).must_be_nil
|
||||
_(resource.groups).must_equal %w{Administrators Users}
|
||||
_(resource.home).must_be_nil
|
||||
_(resource.home).wont_be_nil
|
||||
_(resource.shell).must_be_nil
|
||||
_(resource.mindays).wont_be_nil
|
||||
_(resource.maxdays).wont_be_nil
|
||||
|
@ -138,7 +138,7 @@ describe "Inspec::Resources::User" do
|
|||
_(resource.shell).must_be_nil
|
||||
_(resource.mindays).wont_be_nil
|
||||
_(resource.maxdays).wont_be_nil
|
||||
_(resource.warndays).wont_be_nil
|
||||
_(resource.warndays).must_be_nil
|
||||
_(resource.disabled?).must_equal true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue