On Wed, Jan 12, 2011 at 11:14 AM, Jason Thomas <[email protected]>wrote: > > RSpec.configure do |config| > config.around(:each) do |example| > Sequel::DATABASES.first.transaction do > example.run > raise Sequel::Error::Rollback > end > end > # other configuration ... > end >
Yes, this is what I do. -- 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.
