Hi, could use some help with this. I have an app that imports CSV data (which it receives from another app as an automated entry to a data field on a form) I want to write test for the models that use this data. I have one model with no database that takes the CSV record and makes it an object that I can work with. Then that object gets split into Customer, Order and LineItem models. This means that I need CSV raw data to build the tests around. My main question is where do I put this data and how do I store it. I could build some test strings, or I could use test files, but it would be nice to make them accessible to different model tests. I am still green at writing tests and cant get my head around how best to go about this. Any ideas?? Thanks Tonypm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---