Tests for Models with file_column


#1

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?

Thanks


#2

On 1/14/06, Steve R. removed_email_address@domain.invalid wrote:

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


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

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
removed_email_address@domain.invalid
1-866-263-3261