There appears to be an odd race condition that causes a test to almost always fail under Rails 3.1.3 but almost always pass under Rails 3.2.3. The uploaded file is deleted before we are finished using it. It is possible that this only happens when testing.
…lip 3.0.1 is broken.
…sing a copy.
… test. That is really what it is and this allows us to use assert_select.
…ration for the selected backend each time.
…entical in activerecord and mongoid versions), added support for mongoid via carrierwave