diff options
Diffstat (limited to 'spec/stress/win32/file_spec.rb')
-rw-r--r-- | spec/stress/win32/file_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/stress/win32/file_spec.rb b/spec/stress/win32/file_spec.rb index c911698029..274d574919 100644 --- a/spec/stress/win32/file_spec.rb +++ b/spec/stress/win32/file_spec.rb @@ -21,7 +21,7 @@ require "chef/win32/file" if windows? describe "Chef::ReservedNames::Win32::File", :windows_only do before(:each) do - @path = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "data", "old_home_dir", "my-dot-emacs")) + @path = File.expand_path(File.join(__dir__, "..", "..", "data", "old_home_dir", "my-dot-emacs")) end it "should not leak significant memory", :volatile do |