database_cleaner icon indicating copy to clipboard operation
database_cleaner copied to clipboard

#clean is run multiple times from the Cucumber example

Open ioev opened this issue 9 years ago • 0 comments

From the readme: https://github.com/DatabaseCleaner/database_cleaner#cucumber-example

The example for adding DatabaseCleaner by hand includes a hook that is provided by DatabaseCleaner, as well as defines a second one. If cucumber-rails is included, #clean will be called 3 times (as was the case with the project I'm working on.)

ioev avatar Jan 15 '16 21:01 ioev