summaryrefslogtreecommitdiff
path: root/spec/functional/resource
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-04 09:03:30 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-04 10:40:21 -0700
commit10bc6366052a06c9445c40f2bbb4d84cd64499ae (patch)
treedc514e95fc582602c87abf885097cc58ccebaebc /spec/functional/resource
parent69bd023b9617c5bdf0fcbaa5606bfd0a22b1db44 (diff)
downloadchef-10bc6366052a06c9445c40f2bbb4d84cd64499ae.tar.gz
Remove more requires that come for free
The universal DSL includes all this stuff. In resource we include the universal DSL, but we also include several of the things it includes. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/functional/resource')
-rw-r--r--spec/functional/resource/dsc_script_spec.rb1
-rw-r--r--spec/functional/resource/windows_security_policy_spec.rb3
2 files changed, 0 insertions, 4 deletions
diff --git a/spec/functional/resource/dsc_script_spec.rb b/spec/functional/resource/dsc_script_spec.rb
index 85f21cdbbd..83544cee04 100644
--- a/spec/functional/resource/dsc_script_spec.rb
+++ b/spec/functional/resource/dsc_script_spec.rb
@@ -18,7 +18,6 @@
require "spec_helper"
require "chef/mixin/powershell_out"
-require "chef/mixin/shell_out"
require "chef/mixin/windows_architecture_helper"
require "support/shared/integration/integration_helper"
diff --git a/spec/functional/resource/windows_security_policy_spec.rb b/spec/functional/resource/windows_security_policy_spec.rb
index 1a6b697bfa..76764e01b0 100644
--- a/spec/functional/resource/windows_security_policy_spec.rb
+++ b/spec/functional/resource/windows_security_policy_spec.rb
@@ -17,11 +17,8 @@
#
require "spec_helper"
-require "chef/mixin/powershell_out"
describe Chef::Resource::WindowsSecurityPolicy, :windows_only do
- include Chef::Mixin::PowershellExec
-
let(:secoption) { "MaximumPasswordAge" }
let(:secvalue) { "30" }
let(:windows_test_run_context) do