diff --git a/test/unit/support/shared/base_context.rb b/test/unit/support/shared/base_context.rb index c730afd13..5b619848e 100644 --- a/test/unit/support/shared/base_context.rb +++ b/test/unit/support/shared/base_context.rb @@ -25,6 +25,6 @@ shared_context "unit" do f.flush end - return Pathname.new(f.path) + return Pathname.new(f) end end