summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrishichawda <rishichawda@users.noreply.github.com>2021-10-21 22:00:57 +0530
committerTim Smith <tsmith84@gmail.com>2021-10-21 12:22:56 -0700
commit9a3867729c6dd92f3747115f415c7fa4bb63c118 (patch)
tree4d6c575087ac0bcd5f698686670873bb6fe7ee60
parent443989f48f5866d15493c88a78c0c741ca049ad3 (diff)
downloadchef-9a3867729c6dd92f3747115f415c7fa4bb63c118.tar.gz
don't run userdefaults tests on other platforms
Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
-rw-r--r--spec/functional/resource/macos_userdefaults_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/macos_userdefaults_spec.rb b/spec/functional/resource/macos_userdefaults_spec.rb
index a9ed206019..c8e065e0f1 100644
--- a/spec/functional/resource/macos_userdefaults_spec.rb
+++ b/spec/functional/resource/macos_userdefaults_spec.rb
@@ -16,7 +16,7 @@
#
require "spec_helper"
-describe Chef::Resource::MacosUserDefaults do
+describe Chef::Resource::MacosUserDefaults, :macos_only, requires_root: true do
def create_resource
node = Chef::Node.new
events = Chef::EventDispatch::Dispatcher.new