2009/12/8 Steve Tooke <[email protected]>:
> We want to roll the database back to a clean state between tests -
> ensuring that they are isolated.

I have pretty much what you said as an alternate:

Before do
  DB[ :table_name_a ].delete
  DB[ :table_name_b ].delete

  DB[ :table_name_a ] << { :foo => :bar }
end

etc

Clive

--

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.


Reply via email to