summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/freebsd/cpu_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/plugins/freebsd/cpu_spec.rb')
-rw-r--r--spec/unit/plugins/freebsd/cpu_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/freebsd/cpu_spec.rb b/spec/unit/plugins/freebsd/cpu_spec.rb
index 1dbbf3a6..b4e16ed4 100644
--- a/spec/unit/plugins/freebsd/cpu_spec.rb
+++ b/spec/unit/plugins/freebsd/cpu_spec.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require File.expand_path(File.dirname(__FILE__) + "/../../../spec_helper.rb")
+require_relative "../../../spec_helper.rb"
describe Ohai::System, "FreeBSD cpu plugin on FreeBSD >=10.2" do
before(:each) do