[rspec-users] Mocking expectations on I/O operations

Ash Moran
2011-09-16T12:23:02Z

On 16 Sep 2011, at 01:17, Alex Chaffee wrote:

> https://github.com/defunkt/fakefs might help too


I thought that too, but then it occurred to me there''s a chance
mini_magick isn''t using Ruby''s filesystem code (it might be
writing to the FileSystem with native code for example), so I didn''t
put this in to confuse the situation. But yes, if it could be done, FakeFS might
work well here.



--