summaryrefslogtreecommitdiff
path: root/spec/functional/plugins/powershell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/plugins/powershell_spec.rb')
-rw-r--r--spec/functional/plugins/powershell_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/plugins/powershell_spec.rb b/spec/functional/plugins/powershell_spec.rb
index 865bb850..38fab45d 100644
--- a/spec/functional/plugins/powershell_spec.rb
+++ b/spec/functional/plugins/powershell_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, "languages plugin" do
VERSION_MATCHING_REGEX = /^(?:[\d]+\.)+[\d]+$/