Hi – I’m running into all sorts of difficulties trying to use paperclip
with cucumber and rspec.
Basically, I’m stubbing out paperclip calls with WebMock (I’ve adapted
shoulda macro that uses FakeWeb to do this).
But every time I get things running smoothly, something else pops up to
screw things up.
The latest is a “Too many open files” error.
So how are other people speccing their paperclip code?
Please tell me they’re doing something, as I’m using S3 storage, which
would really slow my tests down if I just did nothing.
I’m starting to think of all sorts of horrible solutions, like making
storage strategy dependent on the environment, like using the file
it is a test or cucumber env.
But I’d hate to resort to that.
Any & all advice really appreciated!
PS – cross-posted at rspec and paperclip lists.