On Wed, Sep 14, 2011 at 6:51 AM, Rob Aldred wrote:
> I'm speccing a small lib which manipulates image files using mini_magick.
> The lib creates various temporary files during the process, the lib then
> cleans up the temporary files at the end.
>
> I'm trying to mock expectations that the calls
I'm speccing a small lib which manipulates image files using mini_magick.
The lib creates various temporary files during the process, the lib then cleans
up the temporary files at the end.
I'm trying to mock expectations that the calls are made to File#delete
Eg...
File.should_receive(:delete).o