diff options
Diffstat (limited to 'spec/unit/plugins/linux/systemd_paths_spec.rb')
-rw-r--r-- | spec/unit/plugins/linux/systemd_paths_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/linux/systemd_paths_spec.rb b/spec/unit/plugins/linux/systemd_paths_spec.rb index 04bf4ade..d5029dcc 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(File.dirname(__FILE__) + "/../../../spec_helper.rb") +require File.expand_path(__dir__ + "/../../../spec_helper.rb") describe Ohai::System, "Linux systemd paths plugin" do let(:plugin) { get_plugin("linux/systemd_paths") } |