On 13 Mar 2011, at 22:05, Avdi Grimm wrote: > On Sun, Mar 13, 2011 at 10:30 AM, Nicholas Wieland <n...@nofeed.org> wrote: >> Hi *, for some reasons I'm not able to fake writing on the FS during specs >> with carrierwave, someone managed to make it work ? >> I'm currently trying to use FakeFS, but apparently I'm not even able to run >> specs after changing spec_helper. The exception it raises is: > > An alternative you might try is Construct: https://github.com/devver/construct > > We created it at Devver because we had trouble with libraries like > FakeFS. Instead of faking out the FS, it simply gives you tools to set > up the needed file structures and then automatically clean them up > when the test is done.
I wonder if you could similarly use Aruba's library for that in RSpec. It might need some tweaks. > > -- > Avdi Grimm > http://avdi.org > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users cheers, Matt m...@mattwynne.net 07974 430184 _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users