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.
Ef0db53920b243d6758c2f6b1306df0d?d=identicon&s=25 Steve Ross (cwd)
on 2006-01-14 20: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?

4bd34a2216dc8bdbf1f017f64e4d59e8?d=identicon&s=25 Kyle Maxwell (Guest)
on 2006-01-15 02:04
(Received via mailing list)
On 1/14/06, Steve Ross <> wrote:
> Posted via
> _______________________________________________
> Rails mailing list

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

Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
This topic is locked and can not be replied to.