Rails 3 test fixtures with carrierwave?

前端 未结 6 1016
轻奢々
轻奢々 2021-02-05 09:02

I\'m working on upgrading from attachment_fu to carrierwave, since attachment_fu is broken in rails 3.

None of the tests are able to run, because we have invalid fixture

6条回答
  •  一向
    一向 (楼主)
    2021-02-05 09:32

    To be able to use fixtures that have uploaded files as well as doing uploads in the tests, I've played around with CarrierWave for a bit lately. I've written an article about how I'd do it.

提交回复
热议问题