Fix issue with Tempfile in test being deleted
This commit is contained in:
parent
b878f1bd66
commit
aeb6533607
|
@ -25,6 +25,6 @@ shared_context "unit" do
|
||||||
f.flush
|
f.flush
|
||||||
end
|
end
|
||||||
|
|
||||||
return Pathname.new(f.path)
|
return Pathname.new(f)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue