diff options
author | rishichawda <rishichawda@users.noreply.github.com> | 2022-04-18 11:51:52 +0530 |
---|---|---|
committer | rishichawda <rishichawda@users.noreply.github.com> | 2022-05-26 14:39:03 +0530 |
commit | f57e49ab2b028ac3c3d1c07880ac40447413de26 (patch) | |
tree | f5f6732252f637ecadd6126238c3bd403481c637 | |
parent | 688564881b2a2d20ccc8fdd9bfcfef41be7d10c0 (diff) | |
download | chef-f57e49ab2b028ac3c3d1c07880ac40447413de26.tar.gz |
update func tests
Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
-rw-r--r-- | spec/functional/resource/macos_userdefaults_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/functional/resource/macos_userdefaults_spec.rb b/spec/functional/resource/macos_userdefaults_spec.rb index 0ed7839ad0..baa1ba134f 100644 --- a/spec/functional/resource/macos_userdefaults_spec.rb +++ b/spec/functional/resource/macos_userdefaults_spec.rb @@ -38,12 +38,12 @@ describe Chef::Resource::MacosUserDefaults, :macos_only do expect(resource.domain).to eq("NSGlobalDomain") end - it "nil for the host property" do - expect(resource.host).to be_nil + it ":all for the host property" do + expect(resource.host).to :all end - it "nil for the user property" do - expect(resource.user).to be_nil + it ":current for the user property" do + expect(resource.user).to :current end it ":write for resource action" do |