Forum: Ruby on Rails Tests for Models with file_column

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Steve R. (Guest)
on 2006-01-14 21:12
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?

Kyle M. (Guest)
on 2006-01-15 03:04
(Received via mailing list)
On 1/14/06, Steve R. <removed_email_address@domain.invalid> wrote:
> Posted via
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid

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
This topic is locked and can not be replied to.