Robert Pankowecki wrote:
> On Oct 8, 2:22�pm, Marnen Laibow-Koser <[email protected]> wrote:
> 
>> You don't want to do that. �Start from a blank DB, and in each test, use
>> factories to create only the records you need for that test. �That way
>> it is clearer what is being tested.
> 
> Except for the dictionaries tables. I changed the rake tasks so
> development and test database are both seeded.
> 

No.  Even dictionaries should not be seeded in test.  Just use factories 
to create only the actual records needed for each individual test.

As far as I can tell, there is no valid use case for seeding the test 
DB.  Don't ever do it.

> Robert Pankowecki

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to