summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrishichawda <rishichawda@users.noreply.github.com>2022-04-18 11:51:52 +0530
committerrishichawda <rishichawda@users.noreply.github.com>2022-05-26 14:39:03 +0530
commitf57e49ab2b028ac3c3d1c07880ac40447413de26 (patch)
treef5f6732252f637ecadd6126238c3bd403481c637
parent688564881b2a2d20ccc8fdd9bfcfef41be7d10c0 (diff)
downloadchef-f57e49ab2b028ac3c3d1c07880ac40447413de26.tar.gz
update func tests
Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
-rw-r--r--spec/functional/resource/macos_userdefaults_spec.rb8
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