datamapper/dm-core — pull request #198 by hhuang (2012-04-24 01:54:47+00:00)
Title: use before each in lieu of before all in shared_adapter spec

this keeps each individual spec more clearly isolated from one another, while it should also alleviate some pain for adapter developers with regards to cleaning up databases after each spec run.

when writing an adapter, neither a simple truncation or transactional cleanup at each spec would give the expected behavior of a clean slate after each spec run.