adjust user_test.rb

This commit is contained in:
mhackethal 2019-09-13 20:45:54 +02:00
parent 9e06f02e27
commit 0b76859728

View file

@ -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