hi all, has any one had experience writing a test for file_column I can write a test for testing the data in the form, but am not sure how to test against the image any tips? cheers dion -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060712/08f7996a/attachment.html
Dion Hewson wrote:> hi all, > > has any one had experience writing a test for file_column > > I can write a test for testing the data in the form, but am not sure > how to test against the image > > any tips? > > cheers > > dion > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >I believe there are tests included with file_column. Check these out for how to extend into your other tests. HTH