summaryrefslogtreecommitdiff
path: root/spec/unit/provider
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-07-13 12:48:21 -0700
committerPete Higgins <pete@peterhiggins.org>2020-07-13 13:35:19 -0700
commitea09c756ef643dda36932c9578080bd867e72b4c (patch)
tree98afc976824a6476cc63b6227730106e4c098ed5 /spec/unit/provider
parent04eac6a86e51d71cdbfbe163ebb70a887c1c9ddb (diff)
downloadchef-ea09c756ef643dda36932c9578080bd867e72b4c.tar.gz
The spec/ directory is in the path.fix-spec_helper-requires
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/unit/provider')
-rw-r--r--spec/unit/provider/ifconfig_spec.rb1
-rw-r--r--spec/unit/provider/package/smartos_spec.rb2
-rw-r--r--spec/unit/provider/service/redhat_spec.rb2
3 files changed, 2 insertions, 3 deletions
diff --git a/spec/unit/provider/ifconfig_spec.rb b/spec/unit/provider/ifconfig_spec.rb
index 88fa5883f2..668a3ca9d9 100644
--- a/spec/unit/provider/ifconfig_spec.rb
+++ b/spec/unit/provider/ifconfig_spec.rb
@@ -16,7 +16,6 @@
# limitations under the License.
#
-# require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec_helper"))
require "spec_helper"
require "chef/exceptions"
diff --git a/spec/unit/provider/package/smartos_spec.rb b/spec/unit/provider/package/smartos_spec.rb
index 91ccb87211..5d815a579e 100644
--- a/spec/unit/provider/package/smartos_spec.rb
+++ b/spec/unit/provider/package/smartos_spec.rb
@@ -17,7 +17,7 @@
# limitations under the License.
#
-require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", "spec_helper"))
+require "spec_helper"
require "ostruct"
describe Chef::Provider::Package::SmartOS, "load_current_resource" do
diff --git a/spec/unit/provider/service/redhat_spec.rb b/spec/unit/provider/service/redhat_spec.rb
index b965183d14..9795abf771 100644
--- a/spec/unit/provider/service/redhat_spec.rb
+++ b/spec/unit/provider/service/redhat_spec.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", "spec_helper"))
+require "spec_helper"
require "ostruct"
shared_examples_for "define_resource_requirements_common" do