bmabey/database_cleaner — pull request #257 by ethco (2014-01-25 04:26:39+00:00)
Title: DatabaseCleaner.cleaning

add DatabaseCleaner.cleaning which takes a block.

Default implementation of #cleaning just calls #start, yields, calls #clean. Sequel's transaction adapter is the only thing that has a custom implementation for now, avoiding fibers. as discussed in https://github.com/bmabey/database_cleaner/issues/256