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

Ash Moran ash.moran at patchspace.co.uk
Fri Sep 16 08:23:02 EDT 2011

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.


More information about the rspec-users mailing list