summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/functional/resource/macos_userdefaults_spec.rb2
-rw-r--r--spec/unit/resource/macos_user_defaults_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/macos_userdefaults_spec.rb b/spec/functional/resource/macos_userdefaults_spec.rb
index c8e065e0f1..2f79135c45 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, :macos_only, requires_root: true do
+describe Chef::Resource::MacosUserDefaults, :macos_only do
def create_resource
node = Chef::Node.new
events = Chef::EventDispatch::Dispatcher.new
diff --git a/spec/unit/resource/macos_user_defaults_spec.rb b/spec/unit/resource/macos_user_defaults_spec.rb
index 63cfe4a0c4..8363b822ec 100644
--- a/spec/unit/resource/macos_user_defaults_spec.rb
+++ b/spec/unit/resource/macos_user_defaults_spec.rb
@@ -17,7 +17,7 @@
require "spec_helper"
-describe Chef::Resource::MacosUserDefaults, :macos_only, requires_root: true do
+describe Chef::Resource::MacosUserDefaults, :macos_only do
let(:test_value) { "fakest_key_value" }
let(:test_key) { "fakest_key" }
let(:node) { Chef::Node.new }