Agreed with David - it simply hasn't been implemented in FakeFS.
I'm actually a maintainer on the project, but don't have any steam to work on
it right now. I'd certainly apply patches, though.
FakeFS is a project of gradual enhancement, so even a patch that doesn't
respect all of the argum
On 13 Mar 2011, at 22:05, Avdi Grimm wrote:
> On Sun, Mar 13, 2011 at 10:30 AM, Nicholas Wieland 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
I think the problem is a missing API in FakeFS:
http://rubydoc.info/gems/fakefs/0.3.1/FakeFS/File
http://www.ruby-doc.org/core/classes/File.html#M24
On Mar 13, 2011, at 2:37 PM, Nicholas Wieland wrote:
> hi Scott, thanks for the answer.
>
> https://gist.github.com/868356
>
> I'm not even c
On Sun, Mar 13, 2011 at 10:30 AM, Nicholas Wieland 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_h
hi Scott, thanks for the answer.
https://gist.github.com/868356
I'm not even calling it inside the specs.
ngw
On Mar 13, 2011, at 5:28 PM, Scott Taylor wrote:
>
> How are you requiring FakeFS?
>
> Scott
>
> On Mar 13, 2011, at 10:30 AM, Nicholas Wieland wrote:
>
>> Hi *, for some reasons
How are you requiring FakeFS?
Scott
On Mar 13, 2011, at 10:30 AM, Nicholas Wieland 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
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:
/Users/ngw/.rvm/rubies/ruby-1.9