summaryrefslogtreecommitdiff
path: root/platform_simulation_specs/plugins/perl_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'platform_simulation_specs/plugins/perl_spec.rb')
-rw-r--r--platform_simulation_specs/plugins/perl_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform_simulation_specs/plugins/perl_spec.rb b/platform_simulation_specs/plugins/perl_spec.rb
index aa851796..bf4a9330 100644
--- a/platform_simulation_specs/plugins/perl_spec.rb
+++ b/platform_simulation_specs/plugins/perl_spec.rb
@@ -17,8 +17,8 @@
# limitations under the License.
#
-require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper.rb")
-require File.expand_path( File.join( File.dirname( __FILE__ ), "..", "common", "ohai_plugin_common.rb" ))
+require_relative "../../spec_helper.rb"
+require_relative "../common/ohai_plugin_common.rb"
describe Ohai::System, "plugin perl" do
test_plugin(%w{languages perl}, [ "perl" ]) do |p|