On 17 Jun 2011, at 20:36, Jeremy Evans wrote: > > Try moving your requiring the model to right before the end of the > before(:all) block
On 17 Jun 2011, at 20:36, Jeremy Evans wrote: > I will say that unless you have a good reason to run your migrations > inside of your specs, I would recommend against that approach. I > recommend you migrate your test database like you migrate your > development database, and then you can just run your specs without > worrying about these things. Well, I was trying to go for a nice atomicity in the tests (like some kind of database-testing Nirvana!), and the in-memory database might be fast enough to allow it, but I'll probably end up with a mix. Regards, Iain -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
