Search code examples
ruby-on-railsunit-testingfixturestestunit

Rails fixtures - defining a table name?


At the minute all my fixtures have the same name as the table that they are intended for, because of a recent issue with rails it doesn't seem possible to have a fixture beginning with the word 'test'

Does anyone know of a way to have a different fixture name and then map it to the correct table?

Thanks, Andy


Solution

  • This blog post looks similar to what you want to do.