RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

exviva — 2 posts

http://exviva.posterous.com

I've just released a new version of paperclip-storage-tmp gem, which allows you to use an isolated, temporary storage for Paperclip 2.x (useful especially during tests).

Thanks to the gem, the filesystem state between tests is clean and isolated, your tests do not conflict with the attachments you uploaded in development, and your public/system is not cluttered.

New in this release: one-line hooks for RSpec and Cucumber.

Check out the README for more information.
If you're running into "undefined method `has_selector?' for String" in your view specs after upgrading to RSpec 2 beta 20, this article may help you.