diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-09-10 16:09:04 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-09-10 16:09:04 -0700 |
commit | 2184dc8e77cc4d5329162fbd20bfc10ae993af5c (patch) | |
tree | a54bcbcdcb46e7c004941c4122c14a907a5957cd | |
parent | 15437f1f045ded0296b1d954c25f644079b16fb0 (diff) | |
download | ohai-spec-cleanup.tar.gz |
rspec puts spec/ on the load path.spec-cleanup
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r-- | spec/unit/plugins/linux/sysctl_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/plugins/linux/systemd_paths_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/plugins/solaris2/filesystem.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/plugins/linux/sysctl_spec.rb b/spec/unit/plugins/linux/sysctl_spec.rb index b424fde1..a14eb76b 100644 --- a/spec/unit/plugins/linux/sysctl_spec.rb +++ b/spec/unit/plugins/linux/sysctl_spec.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "../../../spec_helper.rb" +require "spec_helper" describe Ohai::System, "sysctl plugin", :unix_only do let(:plugin) { get_plugin("linux/sysctl") } diff --git a/spec/unit/plugins/linux/systemd_paths_spec.rb b/spec/unit/plugins/linux/systemd_paths_spec.rb index d5029dcc..5463f765 100644 --- a/spec/unit/plugins/linux/systemd_paths_spec.rb +++ b/spec/unit/plugins/linux/systemd_paths_spec.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require File.expand_path(__dir__ + "/../../../spec_helper.rb") +require "spec_helper" describe Ohai::System, "Linux systemd paths plugin" do let(:plugin) { get_plugin("linux/systemd_paths") } diff --git a/spec/unit/plugins/solaris2/filesystem.rb b/spec/unit/plugins/solaris2/filesystem.rb index 66fcd2dc..50f4ac0e 100644 --- a/spec/unit/plugins/solaris2/filesystem.rb +++ b/spec/unit/plugins/solaris2/filesystem.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "spec_helper" +require "spec_helper" describe Ohai::System, "Solaris2.X filesystem plugin" do let(:plugin) { get_plugin("filesystem") } |