uninitialized constant MemFs::Dir::Tmpname
kyle-c9000 opened this issue · 2 comments
kyle-c9000 commented
I am running ruby 2.3.0 and memfs 1.0.0
When running the following test:
it "blah" do
MemFs.activate do
Tempfile.new('asd')
end
end
It results in the following error:
Failure/Error: Tempfile.new('asd')
NameError:
uninitialized constant MemFs::Dir::Tmpname
simonc commented
Hi @neokyle1 sorry for not answering sooner, the Github notification went to my junk folder. Did you find a workaround in the mean time? I'll try to address the issue asap. Thanks for bringing this to my attention!
kyle-c9000 commented
No problem. Sorry, I do not remember troubleshooting this that much. Looks like I ended up switching to fakefs for that project.