Here's how I added transactional tests for the Mack framework: http://github.com/markbates/mack-more/tree/master/mack-data_mapper/lib/mack-data_mapper/test_extensions.rb
That should help you. ------------------------------------------------------------------------------------------------- Mark Bates [EMAIL PROTECTED] http://www.mackframework.com http://api.mackframework.com/ http://github.com/markbates/mack On Sep 20, 2008, at 3:48 AM, Rob Westgeest wrote: > > Hi, > > I am using datamapper in a merb application. Too keep specs totally > independent i would like to put every spec in a transaction and > rollback loop. (kind of like use_transactional_fixtures - true in > rails) > > I haveb't found a way to do this. Does anyone of you guys know howto > do this? Is there a 'standard' way or do i have to wrap the specs > myself? > > Cheers > Rob > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
