Tests for Models with file_column

I know this has been asked and answered, but how do you write tests that
“upload” a file, then check its consistency with the original? Assume a
local machine for all tests?

Do you place the tests exclusively in the unit test or sprinkle them
into the functional ones as well?


On 1/14/06, Steve R. [email protected] wrote:

Posted via http://www.ruby-forum.com/.

Rails mailing list
[email protected]

File_column itself has tests, which you can use as a template for your
own tests.

Kyle M.
Chief Technologist
E Factor Media // FN Interactive
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs