amatsuda / database_rewinder

minimalist's tiny and ultra-fast database cleaner
MIT License
807 stars 91 forks source link

How to use with capybara-webkit #8

Closed dgilperez closed 9 years ago

dgilperez commented 10 years ago

Hi!

I'm trying the gem and find issues with capybara-webkit tests, where deletion starts before the test has finished. With DatabaseCleaner there are different strategies to deal with the issue, such as this of rspectacular.

Is this possible with database_rewinder?

Thanks for the great work!

deeeki commented 10 years ago

@dgilperez Could you give us steps to reproduce with capybara-webkit?

rzane commented 9 years ago

Hi @dgilperez, I also had this problem. Moving all of my capybara requires below my RSpec.configure block fixed it for me. I got the idea from https://github.com/jnicklas/capybara/issues/1089#issuecomment-71767918.

deeeki commented 9 years ago

@rzane Thank you for your helpful comment! I'm gonna close this issue.