Re: [Rails] [Rails 3] Appears test DB isn't being cleared when using shoulda - what am I doing wrong?

2010-10-23 Thread radhames brito
did you remember to put { } in the values of the factories to make them lambdas?, also try using Faker -- 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-t...@googlegroups.com. To unsubscribe

Re: [Rails] [Rails 3] Appears test DB isn't being cleared when using shoulda - what am I doing wrong?

2010-10-23 Thread Erol Fornoles
On Sat, Oct 23, 2010 at 5:21 AM, Phoenix Rising wrote: > Hey guys, > > Chances are there's probably something I just plain missed here, but > for some reason it appears that my test DB isn't being cleared out > between tests when using shoulda with Rails 3. > > I'm calling tests via rake test:[uni

[Rails] [Rails 3] Appears test DB isn't being cleared when using shoulda - what am I doing wrong?

2010-10-22 Thread Phoenix Rising
Hey guys, Chances are there's probably something I just plain missed here, but for some reason it appears that my test DB isn't being cleared out between tests when using shoulda with Rails 3. I'm calling tests via rake test:[units/functionals], and my tests exist in the usual place. Shoulda is