Rails3: Factory girl and file uploads

rails3 ruby edge ruby19 factory_girl

02|23|2010

Our experience so far with rails 3 has been pretty good. Some of the modules and internals of rails were renamed, but so far we haven’t experienced anything that changed drastically. Most of the stuff still have some parallelisms.

ActionController::TestProcess is now ActionDispatch::TestProcess

We had a model with a paperclip attachment, which we required the presence of. In order to specify that in our spec/support/factories.rb, we just had to do the following:

blog comments powered by Disqus