core: fix tests failing on WIndows dueo to bad temp dir gen
This commit is contained in:
parent
e85e355ddb
commit
008dd8e6e7
|
@ -80,7 +80,7 @@ shared_context "unit" do
|
|||
@_temp_files << d
|
||||
|
||||
# Return the pathname
|
||||
return Pathname.new(d.path)
|
||||
return Pathname.new(d)
|
||||
end
|
||||
|
||||
# This helper provides temporary environmental variable changes.
|
||||
|
|
Loading…
Reference in New Issue